public class JSONDataSource extends AbstractJSONDataSource
localName| Constructor and Description |
|---|
JSONDataSource(java.io.Reader jsonReader,
java.lang.String localName) |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.stream.XMLStreamReader |
getReader()
Gives the StAX reader using the "Mapped" formatted input JSON String.
|
getCompleteJOSNString, getJSONString, serialize, serialize, serializepublic JSONDataSource(java.io.Reader jsonReader,
java.lang.String localName)
public javax.xml.stream.XMLStreamReader getReader()
throws javax.xml.stream.XMLStreamException
getReader in interface org.apache.axiom.om.OMDataSourcegetReader in class AbstractJSONDataSourcejavax.xml.stream.XMLStreamException - if there is an error while making the StAX reader.Copyright © 2004-2023 The Apache Software Foundation. All Rights Reserved.