Top Description Methods
com.mysql.cj.xdevapi

public Interface JsonValue

Known Direct Subinterfaces
com.mysql.cj.xdevapi.DbDoc
Known Direct Implementers
com.mysql.cj.xdevapi.JsonArray, com.mysql.cj.xdevapi.JsonLiteral, com.mysql.cj.xdevapi.JsonNumber, com.mysql.cj.xdevapi.JsonString

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 TypeMethod and Description
public default String

Returns:

human readable "pretty" JSON string
toFormattedString
()

Get a human readable "pretty" JSON string.

Method Detail

toFormattedStringback to summary
public default String toFormattedString()

Get a human readable "pretty" JSON string.

Returns:String

human readable "pretty" JSON string