public interface JsonEventObject
extends java.util.Map<java.lang.String,java.lang.Object>
In general, byte code does not use the Map methods and instead uses the implementation class fields directly.
This is a read-only implementation of the Map interface.
All predefined properties as well as all dynamic properties become available through the Map interface.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the JSON string using
WriterConfig.MINIMAL . |
java.lang.String |
toString(WriterConfig config)
Returns the JSON string given a writer configuration
|
void |
writeTo(java.io.Writer writer,
WriterConfig config)
Write JSON to the provided writer and using the provided configuration.
|
void writeTo(java.io.Writer writer, WriterConfig config) throws java.io.IOException
writer
- writerconfig
- JSON writer settingsjava.io.IOException
- when an IO exception occursjava.lang.String toString(WriterConfig config)
config
- JSON writer settingsjava.lang.String toString()
WriterConfig.MINIMAL
.toString
in class java.lang.Object