public class ObjectIdSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
Constructor and Description |
---|
ObjectIdSerializer() |
Modifier and Type | Method and Description |
---|---|
Class<org.bson.types.ObjectId> |
handledType() |
void |
serialize(org.bson.types.ObjectId value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
public Class<org.bson.types.ObjectId> handledType()
handledType
in class com.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
public void serialize(org.bson.types.ObjectId value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.