Skip to content

parseJson<T>(input, options?): T

Parses the given JSON string and returns the object the JSON content represents. By default javascript-style comments and trailing commas are allowed.

NameType
Textends object = any
NameTypeDescription
inputstringJSON content as string
options?JsonParseOptionsJSON parse options

T

Object the JSON content represents