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