|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.internal.parser.StreamFormatSupport org.beanio.internal.parser.format.json.JsonStreamFormat
public class JsonStreamFormat
A StreamFormatSupport
implementation for the JSON stream format.
Constructor Summary | |
---|---|
JsonStreamFormat()
Constructs a new JsonStreamFormat. |
Method Summary | |
---|---|
MarshallingContext |
createMarshallingContext(boolean streaming)
Creates a new marshalling context. |
UnmarshallingContext |
createUnmarshallingContext()
Creates a new ummarshalling context. |
int |
getMaxDepth()
Returns the maximum depth of the all JsonWrapper components in the parser tree layout. |
void |
setMaxDepth(int maxDepth)
Sets the maximum depth of the all JsonWrapper components in the parser tree layout. |
Methods inherited from class org.beanio.internal.parser.StreamFormatSupport |
---|
createRecordMarshaller, createRecordReader, createRecordUnmarshaller, createRecordWriter, getName, getRecordParserFactory, setName, setRecordParserFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.beanio.internal.parser.StreamFormat |
---|
createRecordMarshaller, createRecordReader, createRecordUnmarshaller, createRecordWriter, getName |
Constructor Detail |
---|
public JsonStreamFormat()
Method Detail |
---|
public UnmarshallingContext createUnmarshallingContext()
StreamFormat
createUnmarshallingContext
in interface StreamFormat
UnmarshallingContext
public MarshallingContext createMarshallingContext(boolean streaming)
StreamFormat
createMarshallingContext
in interface StreamFormat
streaming
- true if marshalling to a stream
MarshallingContext
public int getMaxDepth()
JsonWrapper
components in the parser tree layout.
public void setMaxDepth(int maxDepth)
JsonWrapper
components in the parser tree layout.
maxDepth
- the maximum depth
|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |