public interface MapWriter extends MapSerializable, NavigableObject
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
MapWriter.EntryWriter
An interface to push one entry at a time to the output.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, _sizedefault String jsonStr()
default Map toMap(Map<String,Object> map)
MapSerializabletoMap 在接口中 MapSerializablevoid writeMap(MapWriter.EntryWriter ew) throws IOException
IOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.