|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.jackson.map.JsonSerializer<T>
de.undercouch.bson4jackson.serializers.BsonSerializer<java.util.Date>
de.undercouch.bson4jackson.serializers.BsonDateSerializer
public class BsonDateSerializer
Serialiszs dates as BSON date type objects
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
|---|
org.codehaus.jackson.map.JsonSerializer.None |
| Constructor Summary | |
|---|---|
BsonDateSerializer()
|
|
| Method Summary | |
|---|---|
void |
serialize(java.util.Date date,
BsonGenerator bsonGenerator,
org.codehaus.jackson.map.SerializerProvider serializerProvider)
Serialize the given object using the given BsonGenerator |
| Methods inherited from class de.undercouch.bson4jackson.serializers.BsonSerializer |
|---|
serialize |
| Methods inherited from class org.codehaus.jackson.map.JsonSerializer |
|---|
handledType, serializeWithType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BsonDateSerializer()
| Method Detail |
|---|
public void serialize(java.util.Date date,
BsonGenerator bsonGenerator,
org.codehaus.jackson.map.SerializerProvider serializerProvider)
throws java.io.IOException
BsonSerializer
serialize in class BsonSerializer<java.util.Date>date - The object to serializebsonGenerator - The generator to serialize toserializerProvider - The serialization provider
java.io.IOException - If an error occurred writing to the stream
org.codehaus.jackson.JsonProcessingException - If a JSON error occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||