std.data.json formal review

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 1 07:52:52 PDT 2015


Am 01.08.2015 um 16:15 schrieb Suliman:
> Look like it's Variant type. So I tried to use method get! do extract
> value from it
> writeln(get!(response["code"]));
>
> But I get error: Error: variable response cannot be read at compile time

The correct syntax is: response["code"].get!int


More information about the Digitalmars-d mailing list