Parses the given range as a JSON string and returns the corresponding Json object.
Json parseJson(R) (
ref R range,
int* line = null,
string filename = null
if (is(R == string));
The range is shrunk during parsing, leaving any remaining text that is not part of the JSON contents.
Throws a JSONException if any parsing error occured.