public abstract class AbstractLayoutJsonWriter<EntityType> extends AbstractJsonWriter<EntityType>
ctx, registry
Constructor and Description |
---|
AbstractLayoutJsonWriter() |
Modifier and Type | Method and Description |
---|---|
protected SortedMap<String,Map<String,Serializable>> |
cleanAndSort(Map<String,Map<String,Serializable>> map) |
protected void |
writeSerializableMapMapField(String fieldName,
Map<String,Map<String,Serializable>> map,
com.fasterxml.jackson.core.JsonGenerator jg)
Writes a map whose values are a map.
|
accept, getGenerator, write, write, writeEntity, writeEntity, writeEntityField, writeSerializable, writeSerializableField, writeSerializableListField, writeSerializableMapField
public AbstractLayoutJsonWriter()
protected SortedMap<String,Map<String,Serializable>> cleanAndSort(Map<String,Map<String,Serializable>> map)
protected void writeSerializableMapMapField(String fieldName, Map<String,Map<String,Serializable>> map, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
fieldName
- The name of the Json field in which the maps will be written.map
- The map to write.jg
- The JsonGenerator
used to write the given map.IOException
Copyright © 2018 Nuxeo. All rights reserved.