std.json

Vincent thornik at gmail.com
Thu May 17 07:08:26 PDT 2012


On Sunday, 25 March 2012 at 17:50:45 UTC, Andrea Fontana wrote:
> Hope it's clear...

Nope, it's something like chess and have nothing common with 
simplicity of the real JSON usage! This is example from C#:

var p = JsonConvert.DeserializeObject<Person>("{some real JSON, 
not crapy EOS}");
var str = JsonConvert.SerializeObject(p);

That's it! And this is how it SHOULD be implemented. Cannot catch 
why this stupid realization came to standard library... :((


More information about the Digitalmars-d-learn mailing list