Parameters
json | json-formatted string to parse |
maxDepth | maximum depth of nesting allowed, -1 disables depth checking |
options | enable decoding string representations of NaN/Inf as float values |
JSONValue parseJSON(T)(T json, int maxDepth = - 1, JSONOptions options = JSONOptions.none) if (isSomeFiniteCharInputRange!T)Parses a serialized string and returns a tree of JSON values.
json | json-formatted string to parse |
maxDepth | maximum depth of nesting allowed, -1 disables depth checking |
options | enable decoding string representations of NaN/Inf as float values |
JSONValue parseJSON(T)(T json, JSONOptions options) if (isSomeFiniteCharInputRange!T)Parses a serialized string and returns a tree of JSON values.
json | json-formatted string to parse |
options | enable decoding string representations of NaN/Inf as float values |