Package org.bson.json

Interface Converter<T>

Type Parameters:
T - the value type to convert

@Deprecated(since="2022-10-31") public interface Converter<T>
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A converter from a BSON value to JSON.
Since:
3.5
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    convert(T value, StrictJsonWriter writer)
    Deprecated.
    Convert the given value to JSON using the JSON writer.
  • Method Details

    • convert

      void convert(T value, StrictJsonWriter writer)
      Deprecated.
      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