std.json cannot read an array floats back from file

Yuri via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 3 06:30:00 PDT 2017


On Sunday, 2 July 2017 at 21:15:41 UTC, ketmar wrote:
> so, write your own wrapper that will convert 
> INTEGER/UINTEGER/FLOAT to `double`. i think this is the best 
> solution (if there can be "best solution" with std.json at all).

I share your sentiment in relation to std.json, ketmar.

On a side note, what would be a better way to 
serialize/deserialize objects in D if std.json does not cut it? 
It does not have to be JSON serialization although would be 
preferred.


More information about the Digitalmars-d-learn mailing list