public class ObjectMapperResolver.ObjectIdSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.bson.types.ObjectId>
Constructor and Description |
---|
ObjectIdSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(org.bson.types.ObjectId value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
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 © 2020. All rights reserved.