public class Xml2Json extends XmlTo<JsonDocumentContainer>
Constructor and Description |
---|
Xml2Json(XmlAligner aligner,
boolean skipArrayElementContainers,
boolean skipRootElement) |
Modifier and Type | Method and Description |
---|---|
String |
toString(boolean indent) |
static JsonDocumentContainer |
translate(String xml,
URL schemaURL,
boolean compactJsonArrays,
boolean skipRootElement) |
characters, endElement, getDocumentContainer, isWriteAttributes, setupHandler, setWriteAttributes, startElement, toString, translate
endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public Xml2Json(XmlAligner aligner, boolean skipArrayElementContainers, boolean skipRootElement)
public static JsonDocumentContainer translate(String xml, URL schemaURL, boolean compactJsonArrays, boolean skipRootElement) throws SAXException, IOException
SAXException
IOException
public String toString(boolean indent)
Copyright © 2023 Frank!Framework. All rights reserved.