std.json
Bob Cowdery
bob at bobcowdery.plus.com
Wed Nov 10 01:10:53 PST 2010
To answer my own question 'value.object["mode"].str' gets me there.
bob
On 09/11/2010 21:12, Bob Cowdery wrote:
> Hi
>
> I'm trying to decode some json using std.json. I have figured out how to
> get at primitives out but can't get to a dictionary object.
>
> If I send something like {"mode":"am"} from my javascript and then say:
> value = parseJSON(message);
> I get a JSONValue struct. I can't find any documentation for this. Can
> anyone help?
>
> bob
More information about the Digitalmars-d-learn
mailing list