public interface JsonEventObject extends Map<String,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 |
---|---|
String |
toString()
Returns the JSON string using
WriterConfig.MINIMAL . |
String |
toString(WriterConfig config)
Returns the JSON string given a writer configuration
|
void |
writeTo(Writer writer,
WriterConfig config)
Write JSON to the provided writer and using the provided configuration.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
void writeTo(Writer writer, WriterConfig config) throws IOException
writer
- writerconfig
- JSON writer settingsIOException
- when an IO exception occursString toString(WriterConfig config)
config
- JSON writer settingsString toString()
WriterConfig.MINIMAL
.Copyright © 2005–2021. All rights reserved.