public interface MapWriter extends MapSerializable, NavigableObject
Modifier and Type | Interface and Description |
---|---|
static interface |
MapWriter.EntryWriter
An interface to push one entry at a time to the output.
|
Modifier and Type | Method and Description |
---|---|
default String |
jsonStr() |
default Map |
toMap(Map<String,Object> map)
Use the passed map to minimize object creation.
|
void |
writeMap(MapWriter.EntryWriter ew) |
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
default String jsonStr()
default Map toMap(Map<String,Object> map)
MapSerializable
toMap
in interface MapSerializable
void writeMap(MapWriter.EntryWriter ew) throws IOException
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.