Add support for a JSON Source
From a discussion on the xml.com Slack, it looks like there would be value in providing some mechanism for loading JSON documents as a transformation source at the API level.
#1 Updated by Michael Kay about 1 month ago
Saxon 11 adds
XdmValue json = Processor.newJsonBuilder().parseJson(Reader|String); Xslt30Transformer.setContextItem((XdmItem)json);
XdmValue rather than an
XdmItem because the Json input "null" delivers an Xdm empty sequence, which is a bit unfortunate.
Please register to edit this issue