Building JSON until 2.067

Meta via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 4 21:50:37 PST 2015


On Thursday, 5 February 2015 at 01:06:57 UTC, Matt Kline wrote:
> I'm trying to build a small utility for a project at work that 
> stores some config on-disk as JSON. Imagine my dismay when I 
> find that opIndexAssign hasn't been added to JSONValue until 
> after 2.066 went out:
> https://github.com/D-Programming-Language/phobos/pull/2607
>
> 1. Is there any way until 2.067 gets release to build a JSON 
> object,
>    besides building it as a string?
>
> 2. I'm thoroughly confused - something like this would make it 
> seem that
>    std.json is almost never used "in the wild".
>    Is there a JSON library that most other people are using 
> instead?

std.json is both very simple to use, and very feature-light. As 
far as I know, it was written some time ago and is not up to the 
current standards of Phobos. The only thing I've used it for is 
quick one-off projects that were very small in scope.


More information about the Digitalmars-d mailing list