parseJson
Signatures
parseJson(input: string, options: JsonParseOptions): T
Parses the given JSON string and returns the object the JSON content represents. By default javascript-style comments and trailing commas are allowed.
Parameters
- input:
string
- JSON content as string - options:
JsonParseOptions
- JSON parse options