|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fasterxml.jackson.databind.JsonSerializer<T>
de.undercouch.bson4jackson.serializers.BsonSerializer<Timestamp>
de.undercouch.bson4jackson.serializers.BsonTimestampSerializer
public class BsonTimestampSerializer
Serializer for MongoDB Timestamps
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer |
|---|
com.fasterxml.jackson.databind.JsonSerializer.None |
| Constructor Summary | |
|---|---|
BsonTimestampSerializer()
|
|
| Method Summary | |
|---|---|
void |
serialize(Timestamp timestamp,
BsonGenerator bsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
Serialize the given object using the given BsonGenerator |
| Methods inherited from class de.undercouch.bson4jackson.serializers.BsonSerializer |
|---|
serialize |
| Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer |
|---|
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BsonTimestampSerializer()
| Method Detail |
|---|
public void serialize(Timestamp timestamp,
BsonGenerator bsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
throws java.io.IOException
BsonSerializer
serialize in class BsonSerializer<Timestamp>timestamp - The object to serializebsonGenerator - The generator to serialize toserializerProvider - The serialization provider
java.io.IOException - If an error occurred writing to the stream
com.fasterxml.jackson.core.JsonProcessingException - If a JSON error occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||