Creates a JSON scanner on the given text. If ignoreTrivia is set, whitespaces or comments are ignored.

  • Parameters

    • text: string
    • OptionalignoreTrivia: boolean

    Returns JSONScanner