Interface JsonValue

All Known Subinterfaces:
DbDoc
All Known Implementing Classes:
DbDocImpl, JsonArray, JsonLiteral, JsonNumber, JsonString

public interface JsonValue
Common interface for classes representing standard JSON object, array, number, string and 'true', 'false' and 'null' literals and non-standard extensions like mysqlx.expr() expressions.
  • Method Summary

    Modifier and Type Method Description
    default java.lang.String toFormattedString()
    Get a human readable "pretty" JSON string.
  • Method Details

    • toFormattedString

      default java.lang.String toFormattedString()
      Get a human readable "pretty" JSON string.
      Returns:
      human readable "pretty" JSON string