Class EntityWrapperSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<EntityWrapper>
-
- de.fraunhofer.iosb.ilt.frostserver.plugin.odata.serialize.EntityWrapperSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class EntityWrapperSerializer extends com.fasterxml.jackson.databind.JsonSerializer<EntityWrapper>
Handles serialization of wrapped Entity objects that add a context property.- Author:
- jab, scf
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserialize(EntityWrapper wrapper, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers)
-
-
-
Method Detail
-
serialize
public void serialize(EntityWrapper wrapper, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
- Specified by:
serializein classcom.fasterxml.jackson.databind.JsonSerializer<EntityWrapper>- Throws:
IOException
-
-