class ShellTimestampConverter extends java.lang.Object implements Converter<BsonTimestamp>
Constructor and Description |
---|
ShellTimestampConverter() |
Modifier and Type | Method and Description |
---|---|
void |
convert(BsonTimestamp value,
StrictJsonWriter writer)
Convert the given value to JSON using the JSON writer.
|
public void convert(BsonTimestamp value, StrictJsonWriter writer)
Converter
convert
in interface Converter<BsonTimestamp>
value
- the value, which may be null depending on the typewriter
- the JSON writer