Skip to content
AI Monorepos Free online conference · June 23 Join us!

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