public class JsonStreamFormat extends StreamFormatSupport implements StreamFormat
StreamFormatSupport implementation for the JSON stream format.| Constructor and Description |
|---|
JsonStreamFormat()
Constructs a new JsonStreamFormat.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
createRecordMarshaller, createRecordReader, createRecordUnmarshaller, createRecordWriter, getName, getRecordParserFactory, setName, setRecordParserFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRecordMarshaller, createRecordReader, createRecordUnmarshaller, createRecordWriter, getNamepublic UnmarshallingContext createUnmarshallingContext()
StreamFormatcreateUnmarshallingContext in interface StreamFormatUnmarshallingContextpublic MarshallingContext createMarshallingContext(boolean streaming)
StreamFormatcreateMarshallingContext in interface StreamFormatstreaming - true if marshalling to a streamMarshallingContextpublic 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