Bool setter for std.json

ed growlercab at gmail.com
Mon Feb 24 14:33:50 PST 2014


On Monday, 24 February 2014 at 19:20:23 UTC, Adam D. Ruppe wrote:
> On Monday, 24 February 2014 at 18:57:53 UTC, w0rp wrote:
>> It really should just be "BOOLEAN" in std.json.
>
> yeah, or at least the getter property, I agree with that.
>
>> I don't mean to show off or anything dumb like that, but I 
>> haven't used std.json for a while after I wrote my own library,
>
> Aye, my jsvar works similarly ( though it actually uses 
> std.json for the toJSON and parseJSON functions).

I gave up on std.json and switched to the JSON type in vibed 
which includes a nice prettyPrint as well. Not sure on the 
performance of it though, never tested (never been a problem 
either).

Cheers,
ed


More information about the Digitalmars-d mailing list