public class JSONDataSource extends AbstractJSONDataSource
Constructor and Description |
---|
JSONDataSource(Reader jsonReader) |
Modifier and Type | Method and Description |
---|---|
XMLStreamReader |
getReader()
Gives the StAX reader using the "Mapped" formatted input JSON String.
|
getJSONString, isDestructiveRead
isDestructiveWrite, serialize
public JSONDataSource(Reader jsonReader)
public XMLStreamReader getReader() throws XMLStreamException
getReader
in interface org.apache.axiom.om.OMDataSource
getReader
in class AbstractJSONDataSource
XMLStreamException
- if there is an error while making the StAX reader.Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.