fromJSON

Extract an associative array from a JSONValue.

Examples

Convert a json object to an associative array.

auto aa = ["a": 1, "b": 2];
assert(JSONValue(aa).fromJSON!(int[string]) == aa);

Meta