Re: json

new topic     » goto parent     » topic index » view thread      » older message » newer message

The examples don't seem to run, so I couldn't test (it just loops forever); looking at the code, it doesn't seem to handle the escapes \b and \f, or decimal numbers (1.23).

Serializing, in particular, looks like it might be a nightmare.

Say you have the sequence "abc"; in Eu, this is equal to {97,98,99}. In JSON, however, the string "abc" and the array [97,98,99] are completely distinct values.

This also applies to decoding, where the distinction between "abc" and [97,98,99] is lost and has to be inferred by the application.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu