Wanted: Review manager for std.data.json

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 16 04:03:28 PDT 2015


On 2015-04-16 11:29, Sönke Ludwig wrote:

> I'd like to let that be part of a more general serialization framework
> in top of this package instead of integrating a simplistic custom
> solution that will then later be obsoleted.

I was thinking about some low level primitives that a serialization 
library could use. Types that cannot be broken in to smaller parts, 
integer, bool and so on.

> Having said that, you can go through JSONToken instead of JSONValue for lower (computational) overhead.

Something like?

JSONToken token;
token.number = 3;
token.kind = JSONToken.Kind.number;
toJSON(token);

Or what would you recommend a serialization library used?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list