Interface BsonUtils.JsonWriter

Enclosing class:
BsonUtils

public static interface BsonUtils.JsonWriter
Interface to pipe json rendering to a given sink.
Since:
5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Write the json output to the given sink.
    default String
     
  • Method Details

    • to

      void to(StringBuffer sink)
      Write the json output to the given sink.
      Parameters:
      sink - the output target
    • toJsonString

      default String toJsonString()