Deserializes a JSON value into the destination variable.
The same types as for serializeToJson() are supported and handled inversely.
struct Foo { int number; string str; } Foo f = deserializeJson!Foo(`{"number": 12, "str": "hello"}`); assert(f.number == 12); assert(f.str == "hello");
serializeToJson, serializeToJsonString, vibe.data.serialization
See Implementation
Deserializes a JSON value into the destination variable.
The same types as for serializeToJson() are supported and handled inversely.