On Saturday, 1 August 2015 at 14:52:55 UTC, Sönke Ludwig wrote:
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

Thanks! But How to get access to elements that in result: {}
for example to: "name":"_system"

{"result":{"name":"_system","id":"76067","path":"database-6067","isSystem":true},"error":false,"code":200}

Could you also extend docs with code example.

Reply via email to