A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mongodb.github.io/mongo-java-driver/5.5/apidocs/bson/org/bson/json/JsonWriterSettings.html below:

JsonWriterSettings (bson 5.5.0 API)

  • builder

    Defaults to JsonMode.RELAXED

    Returns:
    a Builder instance
    Since:
    3.5
  • isIndent

    public boolean isIndent()

    The indentation mode. If true, output will be indented. Otherwise, it will all be on the same line. The default value is false.

    Returns:
    whether output should be indented.
  • getNewLineCharacters public String getNewLineCharacters

    ()

    The new line character(s) to use if indent mode is enabled. The default value is System.getProperty("line.separator").

    Returns:
    the new line character(s) to use.
  • getIndentCharacters public String getIndentCharacters

    ()

    The indent characters to use if indent mode is enabled. The default value is two spaces.

    Returns:
    the indent character(s) to use.
  • getOutputMode

    The output mode to use. The default value is JSONMode.RELAXED}.

    Returns:
    the output mode.
  • getMaxLength

    public int getMaxLength()

    The maximum length of the JSON string. The string will be truncated at this length.

    Returns:
    the maximum length of the JSON string
    Since:
    3.7
  • getNullConverter

    A converter from BSON Null values to JSON.

    Returns:
    this
    Since:
    3.5
  • getStringConverter

    A converter from BSON String values to JSON.

    Returns:
    this
    Since:
    3.5
  • getBinaryConverter

    A converter from BSON Binary values to JSON.

    Returns:
    this
    Since:
    3.5
  • getBooleanConverter

    A converter from BSON Boolean values to JSON.

    Returns:
    this
    Since:
    3.5
  • getDateTimeConverter

    A converter from BSON DateTime values to JSON.

    Returns:
    this
    Since:
    3.5
  • getDoubleConverter

    A converter from BSON Double values to JSON.

    Returns:
    this
    Since:
    3.5
  • getInt32Converter

    A converter from BSON Int32 values to JSON.

    Returns:
    this
    Since:
    3.5
  • getInt64Converter

    A converter from BSON Int64 values to JSON.

    Returns:
    this
    Since:
    3.5
  • getDecimal128Converter

    A converter from BSON Decimal128 values to JSON.

    Returns:
    this
    Since:
    3.5
  • getObjectIdConverter

    A converter from BSON ObjectId values to JSON.

    Returns:
    this
    Since:
    3.5
  • getRegularExpressionConverter

    A converter from BSON RegularExpression values to JSON.

    Returns:
    this
    Since:
    3.5
  • getTimestampConverter

    A converter from BSON Timestamp values to JSON.

    Returns:
    this
    Since:
    3.5
  • getSymbolConverter

    A converter from BSON Symbol values to JSON.

    Returns:
    this
    Since:
    3.5
  • getMinKeyConverter

    A converter from BSON MinKey values to JSON.

    Returns:
    this
    Since:
    3.5
  • getMaxKeyConverter

    A converter from BSON MaxKey values to JSON.

    Returns:
    this
    Since:
    3.5
  • getUndefinedConverter

    A converter from BSON Undefined values to JSON.

    Returns:
    this
    Since:
    3.5
  • getJavaScriptConverter

    A converter from BSON JavaScript values to JSON.

    Returns:
    this
    Since:
    3.5

  • RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4