Package net.sf.saxon.ma.json
This package implements support for JSON: it includes classes that implement the XPath 3.1 functions for JSON, and underlying support code for parsing and serializating JSON.
-
Class Summary Class Description JsonDoc Implements the json-to-xml function defined in XSLT 3.0.JsonHandler Default handler class for accepting the result from parsing JSON stringsJsonHandlerMap Event handler for the JSON parser which constructs a structure of maps and arrays representing the content of the JSON text.JsonHandlerXML Handler to generate an XML representation of JSON from a series of eventsJsonParser Parser for JSON, which notifies parsing events to a JsonHandlerJsonReceiver A Receiver which receives a stream of XML events using the vocabulary defined for the XML representation of JSON in XSLT 3.0, and which generates the corresponding JSON text as a stringJsonToXMLFn Implements the json-to-xml function defined in XSLT 3.0.ParseJsonFn Implements the parse-json function, as defined in XPath 3.1 The parsing code, and the handling of options is shared with the json-to-xml function.XMLToJsonFn Implement the XML to JSON conversion as a built-in function - fn:xml-to-json()