std.data.json formal review

matovitch via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 29 11:21:45 PDT 2015


Hi Sonke,

Great to see your module moving towards phobos inclusion (I have 
not been following the latest progress of D sadly :() ! Just a 
small remark from the documentation example.

Maybe it would be better to replace :

     value.toJSONString!true()

by

     value.toJSONString!prettify()

using a well-named enum instead of a boolean which could seem 
obscure I now Eigen C++ lib use a similar thing for static vs 
dynamic matrix.

Thanks for the read. Regards,

matovitch


More information about the Digitalmars-d mailing list