Function parseExtJSON

  • Parse str using a superset of JSON.parse. The following extensions are accepted:

    • Single line and multiline comments
    • unquoted properties (ASCII-only Javascript identifiers)
    • trailing comma in array and object definitions
    • single quoted strings
    • \f and \v are accepted as space characters
    • leading plus in numbers
    • octal (0o prefix) and hexadecimal (0x prefix) numbers

    Parameters

    • str: string

    Returns any

Generated using TypeDoc