Package net.sf.saxon.ma.json


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
    Description
    Implements the json-to-xml function defined in XSLT 3.0.
    Default handler class for accepting the result from parsing JSON strings
    Event handler for the JSON parser which constructs a structure of maps and arrays representing the content of the JSON text.
    Handler to generate an XML representation of JSON from a series of events
    Parser for JSON, which notifies parsing events to a JsonHandler
     
    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 string
    Implements the json-to-xml function defined in XSLT 3.0.
    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.
    Implement the XML to JSON conversion as a built-in function - fn:xml-to-json()