The XML content is preserved, including the attributes and namespaces. ![]() If you wanna change, choose one of pre-defined options (eg: xmlbuilder) or select custom and edit in settings.json. The XML to JSON policy uses a simple convention, based on BadgerFish, to convert your API context payload from XML to JSON. See the release notes for the full set of changes □ Previewīy default, it's following xml2js default options. For example to transform source.xml to BadgerFish JSON with Saxon, you would invoke the following on the command line: java net.sf.saxon.Transform source.xml xml-to-json.xsl use-badgerfishtrue () For other options consult the Saxon manual, or your XSLT processor's documentation. ![]()
0 Comments
Leave a Reply. |