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, setRecordParserFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createRecordMarshaller, createRecordReader, createRecordUnmarshaller, createRecordWriter, getName
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 streamMarshallingContext
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