List of usage examples for com.fasterxml.jackson.databind.jsontype TypeSerializer writeTypeSuffixForArray
public abstract void writeTypeSuffixForArray(Object paramObject, JsonGenerator paramJsonGenerator);
From source file:com.basistech.rosette.dm.jackson.array.ListAttributeArraySerializer.java
@Override public void serializeWithType(ListAttribute value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) throws IOException { typeSer.writeTypePrefixForArray(value, jgen); jgen.writeString(KnownAttribute.getAttributeForClass(value.getItemClass()).key()); writeItems(value, jgen, provider);//from w ww .j av a 2s . c o m writeExtendedProperties(value, jgen); typeSer.writeTypeSuffixForArray(value, jgen); }