public final class JSONUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
XSI_PREFIX |
static String |
XSI_URI |
| Modifier and Type | Method and Description |
|---|---|
static XMLStreamReader |
createBadgerFishReader(InputStream is) |
static XMLStreamWriter |
createBadgerFishWriter(OutputStream os) |
static org.codehaus.jettison.mapped.Configuration |
createConfiguration(ConcurrentHashMap<String,String> namespaceMap,
boolean writeXsiType,
boolean attributesAsElements,
org.codehaus.jettison.mapped.TypeConverter converter) |
static XMLStreamWriter |
createIgnoreMixedContentWriterIfNeeded(XMLStreamWriter writer,
boolean ignoreMixedContent) |
static XMLStreamWriter |
createIgnoreNsWriterIfNeeded(XMLStreamWriter writer,
boolean ignoreNamespaces,
boolean ignoreXsiAttributes) |
static XMLStreamReader |
createStreamReader(InputStream is,
boolean readXsiType,
ConcurrentHashMap<String,String> namespaceMap) |
static XMLStreamReader |
createStreamReader(InputStream is,
boolean readXsiType,
ConcurrentHashMap<String,String> namespaceMap,
String namespaceSeparator,
List<String> primitiveArrayKeys,
org.apache.cxf.staxutils.DocumentDepthProperties depthProps) |
static XMLStreamWriter |
createStreamWriter(OutputStream os,
QName qname,
boolean writeXsiType,
org.codehaus.jettison.mapped.Configuration config,
boolean serializeAsArray,
List<String> arrayKeys,
boolean dropRootElement,
String enc) |
public static final String XSI_PREFIX
public static final String XSI_URI
public static XMLStreamWriter createBadgerFishWriter(OutputStream os) throws XMLStreamException
XMLStreamExceptionpublic static XMLStreamReader createBadgerFishReader(InputStream is) throws XMLStreamException
XMLStreamExceptionpublic static XMLStreamWriter createStreamWriter(OutputStream os, QName qname, boolean writeXsiType, org.codehaus.jettison.mapped.Configuration config, boolean serializeAsArray, List<String> arrayKeys, boolean dropRootElement, String enc) throws Exception
Exceptionpublic static org.codehaus.jettison.mapped.Configuration createConfiguration(ConcurrentHashMap<String,String> namespaceMap, boolean writeXsiType, boolean attributesAsElements, org.codehaus.jettison.mapped.TypeConverter converter)
public static XMLStreamWriter createIgnoreMixedContentWriterIfNeeded(XMLStreamWriter writer, boolean ignoreMixedContent)
public static XMLStreamWriter createIgnoreNsWriterIfNeeded(XMLStreamWriter writer, boolean ignoreNamespaces, boolean ignoreXsiAttributes)
public static XMLStreamReader createStreamReader(InputStream is, boolean readXsiType, ConcurrentHashMap<String,String> namespaceMap) throws Exception
Exceptionpublic static XMLStreamReader createStreamReader(InputStream is, boolean readXsiType, ConcurrentHashMap<String,String> namespaceMap, String namespaceSeparator, List<String> primitiveArrayKeys, org.apache.cxf.staxutils.DocumentDepthProperties depthProps) throws Exception
ExceptionApache CXF