November 10, 2010 Re: std.json | ||||
---|---|---|---|---|
| ||||
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
|
Copyright © 1999-2021 by the D Language Foundation