RFC: std.json sucessor

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 22 03:49:02 PDT 2014


Am 22.08.2014 00:35, schrieb Sönke Ludwig:
> The DOM style JSONValue type is based on std.variant.Algebraic. This
> currently has a few usability issues that can be solved by
> upgrading/fixing Algebraic:
>
>   - Operator overloading only works sporadically
>   - (...)
>   - Operations and conversions between different Algebraic types is not
>     conveniently supported, which gets important when other similar
>     formats get supported (e.g. BSON)

https://github.com/D-Programming-Language/phobos/pull/2452
https://github.com/D-Programming-Language/phobos/pull/2453

Those fix the most important operators, index access and binary arithmetic.


More information about the Digitalmars-d mailing list