Skip to content
Nx Cloud CI is in private beta 10.6× faster average CI time with 79% less compute. Join the beta

▸ 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