public abstract class JsonConverter extends Object
Modifier and Type | Method and Description |
---|---|
Item |
convert(byte[] input,
String path)
Converts the specified input to an XQuery item.
|
Item |
convert(IO input)
Converts the specified input to XML.
|
static JsonConverter |
get(JsonParserOptions jopts)
Returns a JSON converter for the given configuration.
|
public Item convert(IO input) throws IOException
input
- input streamIOException
- I/O exceptionpublic Item convert(byte[] input, String path) throws QueryIOException
input
- inputpath
- input path (can be null)
QueryIOException
- query I/O exceptionpublic static JsonConverter get(JsonParserOptions jopts)
jopts
- optionsCopyright © 2005–2015 BaseX Team. All rights reserved.