public final class JsonMapConverter
extends java.lang.Object
Provides a method for parsing a JSON string and converting it to an XQuery item made of nested maps.
The mapping from JSON to XQuery is the following:
()
["foo", true, 123])
map{1:='foo', 2:=true(), 3:=123})
{"foo": 42, "bar": null})
map{'foo':=42, 'bar':=()})
public static Value parse(byte[] json, InputInfo ii) throws QueryException
json - JSON stringii - input infoQueryException - exception