Package org.bson.json
Interface Converter<T>
- 
- Type Parameters:
 T- the value type to convert
public interface Converter<T>A converter from a BSON value to JSON.- Since:
 - 3.5
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconvert(T value, StrictJsonWriter writer)Convert the given value to JSON using the JSON writer. 
 - 
 
- 
- 
Method Detail
- 
convert
void convert(T value, StrictJsonWriter writer)
Convert the given value to JSON using the JSON writer.- Parameters:
 value- the value, which may be null depending on the typewriter- the JSON writer
 
 - 
 
 -