net.vz.mongodb.jackson.internal
Class ObjectIdSerializer
java.lang.Object
org.codehaus.jackson.map.JsonSerializer
net.vz.mongodb.jackson.internal.ObjectIdSerializer
public class ObjectIdSerializer
- extends org.codehaus.jackson.map.JsonSerializer
Serializer for object ids, serialises strings or byte arrays to an ObjectId class
- Since:
- 1.0
- Author:
- James Roper
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
org.codehaus.jackson.map.JsonSerializer.None |
Method Summary |
void |
serialize(Object value,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider)
|
Methods inherited from class org.codehaus.jackson.map.JsonSerializer |
handledType, isUnwrappingSerializer, serializeWithType, unwrappingSerializer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectIdSerializer
public ObjectIdSerializer()
serialize
public void serialize(Object value,
org.codehaus.jackson.JsonGenerator jgen,
org.codehaus.jackson.map.SerializerProvider provider)
throws IOException,
org.codehaus.jackson.JsonProcessingException
- Specified by:
serialize
in class org.codehaus.jackson.map.JsonSerializer
- Throws:
IOException
org.codehaus.jackson.JsonProcessingException
Copyright © 2011-2012 VZ Netzwerke. All Rights Reserved.