Converter (original) (raw)
- Type Parameters:
T
- the value type to convert
public interface Converter
A converter from a BSON value to JSON.
Since:
3.5
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type Method Description void convert(T value,StrictJsonWriter writer) Convert the given value to JSON using the JSON writer. Method Detail
* #### convert void convert([T](Converter.html "type parameter in Converter") value, [StrictJsonWriter](StrictJsonWriter.html "interface in org.bson.json") writer) Convert the given value to JSON using the JSON writer. Parameters: `value` \- the value, which may be null depending on the type `writer` \- the JSON writer