Package org.basex.io.parse.json
Class JsonParser
java.lang.Object
org.basex.util.InputParser
org.basex.io.parse.json.JsonParser
A JSON parser generating parse events similar to a SAX XML parser.
- Author:
- BaseX Team 2005-21, BSD License, Leo Woerteler
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionJsonParser(String input, JsonParserOptions opts, JsonConverter conv) Constructor taking the input string and the spec according to which it is parsed. -
Method Summary
-
Constructor Details
-
JsonParser
Constructor taking the input string and the spec according to which it is parsed.- Parameters:
input- input stringopts- optionsconv- converter
-
-
Method Details
-
parse
Parses a JSON expression.- Throws:
QueryIOException- query I/O exception
-