If you go to json.org, you’ll be amazed by simplicity and cleanliness of JSON format. At least I was. Now… there are some little things you should know before writing JSON parser: Take a look at these: char any-Unicode-character- except-”-or-\-or- control-character \” \\ \/ \b \f \n \r \t \u four-hex-digits There’s one escaped char [...]
Archive of entries posted on March 2011
Barricades?
Just had a chat with my colleague on this and that. Among other things, he shared his point of view on what is real programming is. I’ll be brief: – real programming is C and C++ on tasks where every mistake could be fatal (graphic drivers?) – .Net and Java are scripting languages. O-ok… No, [...]
Why fat-free diet is not always healthy: JSON and the large data
It is widely known that the JSON is a fat-free alternative to XML. However, as with any alternative, there is a price you have to pay. Most people don’t even consider limitations of JSON format when they design their JSON-based protocols. However, they exist and they usually appear later, when there is a need to [...]