| Package | Description |
|---|---|
| org.jooq |
The
org.jooq package contains jOOQ's public API. |
| Modifier and Type | Field and Description |
|---|---|
static JSONFormat |
JSONFormat.DEFAULT_FOR_RECORDS |
static JSONFormat |
JSONFormat.DEFAULT_FOR_RESULTS |
| Modifier and Type | Method and Description |
|---|---|
JSONFormat |
JSONFormat.format(boolean newFormat)
The new value for the formatting flag, defaulting to
false. |
JSONFormat |
JSONFormat.header(boolean newHeader)
Whether to emit a header row with column names, defaulting to
true. |
JSONFormat |
JSONFormat.indent(int newIndent)
The new indentation value, defaulting to
2. |
JSONFormat |
JSONFormat.newline(java.lang.String newNewline)
The new newline character, defaulting to
\n. |
JSONFormat |
JSONFormat.recordFormat(JSONFormat.RecordFormat newRecordFormat)
The record format to be applied, defaulting to
JSONFormat.RecordFormat.ARRAY. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
Result.formatJSON(JSONFormat format)
Get a simple formatted representation of this result as a JSON data
structure, according to the format.
|
java.lang.String |
Record.formatJSON(JSONFormat format)
Get a simple formatted representation of this result as a JSON data
structure, according to the format.
|
void |
Result.formatJSON(java.io.OutputStream stream,
JSONFormat format)
Like
Result.formatJSON(JSONFormat), but the data is output onto an OutputStream. |
void |
Record.formatJSON(java.io.OutputStream stream,
JSONFormat format)
Like
Record.formatJSON(JSONFormat), but the data is output onto an OutputStream. |
void |
Result.formatJSON(java.io.Writer writer,
JSONFormat format)
Like
Result.formatJSON(JSONFormat), but the data is output onto a Writer. |
void |
Record.formatJSON(java.io.Writer writer,
JSONFormat format)
Like
Record.formatJSON(JSONFormat), but the data is output onto a Writer. |
Copyright © 2018. All Rights Reserved.