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 SummaryAll 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- 
convertvoid 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 type
- writer- the JSON writer
 
 
- 
 
-