stdx.data.json needs a layer on top

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 24 12:54:21 PDT 2015


On 24/06/15 15:48, Laeeth Isharc wrote:

> So it would be nice to be able to something like Adam Ruppe does here:
> https://github.com/adamdruppe/arsd/blob/master/jsvar.d
>
> var j = json!q{
>          "hello": {
>              "data":[1,2,"giggle",4]
>          },
>          "world":20
>      };
>
>      writeln(j.hello.data[2]);
>
> Obviously the scope is outside a serialization library, but just
> thinking about the broader integrated and coherent library offering we
> should have.

I understand and I agree it would be nice to have.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list