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 final JSONFormat
JSONFormat.DEFAULT_FOR_RECORDS
static final JSONFormat
JSONFormat.DEFAULT_FOR_RESULTS
Modifier and TypeMethodDescriptionfinal @NotNull JSONFormat
JSONFormat.arrayNulls
(JSONFormat.NullFormat newArrayNulls) The null format to be applied to arrays, defaulting toJSONFormat.NullFormat.NULL_ON_NULL
.final @NotNull JSONFormat
JSONFormat.format
(boolean newFormat) The new value for the formatting flag, defaulting tofalse
.final @NotNull JSONFormat
JSONFormat.globalIndent
(int newGlobalIndent) The new global indentation size applied on all levels, defaulting to0
.final @NotNull JSONFormat
JSONFormat.header
(boolean newHeader) Whether to emit a header row with column names, defaulting totrue
.final @NotNull JSONFormat
JSONFormat.indent
(int newIndent) The new indentation size per level value, defaulting to2
.@NotNull JSONFormat
FormattingProvider.jsonFormatForRecords()
TheJSONFormat
to use when callingFormattable.formatJSON()
and related methods on records, defaulting toDEFAULT_FOR_RECORDS
.@NotNull JSONFormat
FormattingProvider.jsonFormatForResults()
TheJSONFormat
to use when callingFormattable.formatJSON()
and related methods on results, defaulting toDEFAULT_FOR_RESULTS
.final @NotNull JSONFormat
JSONFormat.mutable
(boolean newMutable) The new value for the mutable flag, defaulting tofalse
.final @NotNull JSONFormat
The new newline character, defaulting to\n
.final @NotNull JSONFormat
JSONFormat.objectNulls
(JSONFormat.NullFormat newObjectNulls) The null format to be applied to objects, defaulting toJSONFormat.NullFormat.NULL_ON_NULL
.final @NotNull JSONFormat
JSONFormat.quoteNested
(boolean newQuoteNested) final @NotNull JSONFormat
JSONFormat.recordFormat
(JSONFormat.RecordFormat newRecordFormat) The record format to be applied, defaulting toJSONFormat.RecordFormat.ARRAY
.final @NotNull JSONFormat
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.Modifier and TypeMethodDescriptionstatic @NotNull CallbackFormattingProvider
FormattingProvider.onJsonFormatForRecords
(Supplier<? extends JSONFormat> newOnJsonFormatForRecords) Create anFormattingProvider
with aFormattingProvider.jsonFormatForRecords()
implementation.static @NotNull CallbackFormattingProvider
FormattingProvider.onJsonFormatForResults
(Supplier<? extends JSONFormat> newOnJsonFormatForResults) Create anFormattingProvider
with aFormattingProvider.jsonFormatForResults()
implementation. -
Uses of JSONFormat in org.jooq.impl
Modifier and TypeMethodDescriptionfinal @NotNull JSONFormat
CallbackFormattingProvider.jsonFormatForRecords()
DefaultFormattingProvider.jsonFormatForRecords()
final @NotNull JSONFormat
CallbackFormattingProvider.jsonFormatForResults()
DefaultFormattingProvider.jsonFormatForResults()
Modifier and TypeMethodDescriptionfinal void
ArrayRecordImpl.formatJSON
(Writer writer, JSONFormat format) final void
AssociativeArrayRecordImpl.formatJSON
(Writer writer, JSONFormat format) Modifier and TypeMethodDescriptionfinal @NotNull CallbackFormattingProvider
CallbackFormattingProvider.onJsonFormatForRecords
(Supplier<? extends JSONFormat> newOnJsonFormatForRecords) final @NotNull CallbackFormattingProvider
CallbackFormattingProvider.onJsonFormatForResults
(Supplier<? extends JSONFormat> newOnJsonFormatForResults)