Uses of Class
org.jooq.JSONFormat
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
-
Uses of JSONFormat in org.jooq
Modifier and TypeFieldDescriptionstatic JSONFormat
JSONFormat.DEFAULT_FOR_RECORDS
static JSONFormat
JSONFormat.DEFAULT_FOR_RESULTS
Modifier and TypeMethodDescriptionJSONFormat.format(boolean newFormat)
The new value for the formatting flag, defaulting tofalse
.JSONFormat.globalIndent(int newGlobalIndent)
The new global indentation size applied on all levels, defaulting to0
.JSONFormat.header(boolean newHeader)
Whether to emit a header row with column names, defaulting totrue
.JSONFormat.indent(int newIndent)
The new indentation size per level value, defaulting to2
.The new newline character, defaulting to\n
.JSONFormat.quoteNested(boolean newQuoteNested)
JSONFormat.recordFormat(JSONFormat.RecordFormat newRecordFormat)
The record format to be applied, defaulting toJSONFormat.RecordFormat.ARRAY
.JSONFormat.wrapSingleColumnRecords(boolean newWrapSingleColumnRecords)
Whether to wrap single column records in therecordFormat()
.Modifier and TypeMethodDescriptionvoid
Formattable.formatJSON(OutputStream stream, JSONFormat format)
LikeFormattable.formatJSON(JSONFormat)
, but the data is output onto anOutputStream
.void
Formattable.formatJSON(Writer writer, JSONFormat format)
LikeFormattable.formatJSON(JSONFormat)
, but the data is output onto aWriter
.@NotNull String
Formattable.formatJSON(JSONFormat format)
Get a simple formatted representation of this result as a JSON data structure, according to the format. -
Uses of JSONFormat in org.jooq.impl
Modifier and TypeMethodDescriptionvoid
ArrayRecordImpl.formatJSON(Writer writer, JSONFormat format)