public class OAJacksonSerializer extends com.fasterxml.jackson.databind.JsonSerializer<OAObject>
Constructor and Description |
---|
OAJacksonSerializer() |
Modifier and Type | Method and Description |
---|---|
protected void |
_serialize(OAJson oaj,
OAObject oaObj,
OAObjectInfo oi,
OAObject value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
void |
serialize(OAObject value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
protected boolean |
shouldInclude(OAJson oaj,
OALinkInfo li,
boolean bIncludeOwned,
ArrayList<String> alPropertyPaths) |
protected void |
writeExtraPojoProperties(OAJson oaj,
OAObjectInfo oi,
OAObject oaObj,
com.fasterxml.jackson.core.JsonGenerator gen)
Include other properties that could be needed for Pojo.
|
protected void |
writePojoLinkOne(OAJson oaj,
OAObjectInfo oi,
OAObject oaObj,
com.fasterxml.jackson.core.JsonGenerator gen,
PojoLinkOne plo) |
protected void |
writePojoProperty(OAJson oaj,
OAObjectInfo oi,
OAObject oaObj,
com.fasterxml.jackson.core.JsonGenerator gen,
PojoProperty pjp) |
protected void |
writeProperty(OAPropertyInfo pi,
com.fasterxml.jackson.core.JsonGenerator gen,
OAObject oaObj) |
protected void |
writeProperty(OAPropertyInfo pi,
String lowerName,
Object value,
com.fasterxml.jackson.core.JsonGenerator gen,
OAObject oaObj) |
public void serialize(OAObject value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<OAObject>
IOException
protected void _serialize(OAJson oaj, OAObject oaObj, OAObjectInfo oi, OAObject value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
IOException
protected void writeExtraPojoProperties(OAJson oaj, OAObjectInfo oi, OAObject oaObj, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException
see OABuilder model OABuilderPojo
IOException
protected void writePojoLinkOne(OAJson oaj, OAObjectInfo oi, OAObject oaObj, com.fasterxml.jackson.core.JsonGenerator gen, PojoLinkOne plo) throws IOException
IOException
protected void writePojoProperty(OAJson oaj, OAObjectInfo oi, OAObject oaObj, com.fasterxml.jackson.core.JsonGenerator gen, PojoProperty pjp) throws IOException
IOException
protected boolean shouldInclude(OAJson oaj, OALinkInfo li, boolean bIncludeOwned, ArrayList<String> alPropertyPaths)
protected void writeProperty(OAPropertyInfo pi, com.fasterxml.jackson.core.JsonGenerator gen, OAObject oaObj) throws IOException
IOException
protected void writeProperty(OAPropertyInfo pi, String lowerName, Object value, com.fasterxml.jackson.core.JsonGenerator gen, OAObject oaObj) throws IOException
IOException
Copyright © 1999–2025 ViaOA. All rights reserved.