Package org.frankframework.align
Class Xml2Json
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
,XMLFilter
,XMLReader
XML Schema guided XML to JSON converter;
- Author:
- Gerrit van Brakel
-
Field Summary
-
Constructor Summary
ConstructorDescriptionXml2Json
(XmlAligner aligner, boolean skipArrayElementContainers, boolean skipRootElement) -
Method Summary
Methods inherited from class org.frankframework.align.XmlTo
characters, endElement, getDocumentContainer, isWriteAttributes, setupHandler, setWriteAttributes, startElement, toString, translate
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
Xml2Json
-
-
Method Details
-
translate
public static JsonDocumentContainer translate(String xml, URL schemaURL, boolean compactJsonArrays, boolean skipRootElement) throws SAXException, IOException - Throws:
SAXException
IOException
-
toString
-