static void |
JSON.config(JSONWriter.Feature... features) |
Enable the specified features in default writer
|
static void |
JSON.config(JSONWriter.Feature feature,
boolean state) |
Enable or disable the specified features in default writer
|
void |
JSONWriter.config(JSONWriter.Feature... features) |
|
void |
JSONWriter.config(JSONWriter.Feature feature,
boolean state) |
|
void |
JSONWriter.Context.config(JSONWriter.Feature... features) |
|
void |
JSONWriter.Context.config(JSONWriter.Feature feature,
boolean state) |
|
static <T> T |
JSON.copy(T object,
JSONWriter.Feature... features) |
Builds a new JSON using the properties of the specified object
|
static <T> T |
JSONB.copy(T object,
JSONWriter.Feature... features) |
|
static <T> T |
JSON.copyTo(Object object,
Class<T> targetClass,
JSONWriter.Feature... features) |
Builds a new instance of targetClass using the properties of the specified object
|
static JSONWriter.Context |
JSONFactory.createWriteContext(JSONWriter.Feature... features) |
|
static JSONWriter.Context |
JSONFactory.createWriteContext(ObjectWriterProvider provider,
JSONWriter.Feature... features) |
|
static JSONArray |
JSONArray.from(Object obj,
JSONWriter.Feature... writeFeatures) |
|
static JSONObject |
JSONObject.from(Object obj,
JSONWriter.Feature... writeFeatures) |
|
static boolean |
JSON.isEnabled(JSONWriter.Feature feature) |
Check if the default writer enables the specified feature
|
boolean |
JSONWriter.Context.isEnabled(JSONWriter.Feature feature) |
|
boolean |
JSONWriter.isEnabled(JSONWriter.Feature feature) |
|
static JSONWriter |
JSONWriter.of(JSONWriter.Feature... features) |
|
static JSONWriter |
JSONWriter.of(ObjectWriterProvider provider,
JSONWriter.Feature... features) |
|
static JSONWriter |
JSONWriter.ofJSONB(JSONWriter.Feature... features) |
|
static JSONWriter |
JSONWriter.ofUTF16(JSONWriter.Feature... features) |
|
static JSONWriter |
JSONWriter.ofUTF8(JSONWriter.Feature... features) |
|
static byte[] |
JSONB.toBytes(Object object,
JSONWriter.Feature... features) |
|
static byte[] |
JSONB.toBytes(Object object,
SymbolTable symbolTable,
Filter[] filters,
JSONWriter.Feature... features) |
|
static byte[] |
JSONB.toBytes(Object object,
SymbolTable symbolTable,
JSONWriter.Feature... features) |
|
static Object |
JSON.toJSON(Object object,
JSONWriter.Feature... features) |
|
byte[] |
JSONArray.toJSONBBytes(JSONWriter.Feature... features) |
Serialize to JSONB bytes
|
byte[] |
JSONObject.toJSONBBytes(JSONWriter.Feature... features) |
Serialize to JSONB bytes
|
static byte[] |
JSON.toJSONBytes(Object object,
Filter[] filters,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array
|
static byte[] |
JSON.toJSONBytes(Object object,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array
|
static byte[] |
JSON.toJSONBytes(Object object,
String format,
Filter[] filters,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array
|
static byte[] |
JSON.toJSONBytes(Object object,
String format,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array
|
static byte[] |
JSON.toJSONBytes(Object object,
Charset charset,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array
|
static String |
JSON.toJSONString(Object object,
Filter[] filters,
JSONWriter.Feature... features) |
Serializes the specified object to the json string
|
static String |
JSON.toJSONString(Object object,
Filter filter,
JSONWriter.Feature... features) |
Serializes the specified object to the json string
|
static String |
JSON.toJSONString(Object object,
JSONWriter.Feature... features) |
Serializes the specified object to the json string
|
static String |
JSON.toJSONString(Object object,
String format,
Filter[] filters,
JSONWriter.Feature... features) |
Serializes the specified object to the json string
|
static String |
JSON.toJSONString(Object object,
String format,
JSONWriter.Feature... features) |
Serializes the specified object to the json string
|
String |
JSONArray.toJSONString(JSONWriter.Feature... features) |
|
static String |
JSONArray.toJSONString(Object object,
JSONWriter.Feature... features) |
|
String |
JSONObject.toJSONString(JSONWriter.Feature... features) |
|
static String |
JSONObject.toJSONString(Object object,
JSONWriter.Feature... features) |
|
String |
JSONArray.toString(JSONWriter.Feature... features) |
|
String |
JSONObject.toString(JSONWriter.Feature... features) |
|
static int |
JSON.writeTo(OutputStream out,
Object object,
Filter[] filters,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array and write it to OutputStream
|
static int |
JSON.writeTo(OutputStream out,
Object object,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array and write it to OutputStream
|
static int |
JSON.writeTo(OutputStream out,
Object object,
String format,
Filter[] filters,
JSONWriter.Feature... features) |
Serializes the specified object to the json byte array and write it to OutputStream
|
static int |
JSONB.writeTo(OutputStream out,
Object object,
JSONWriter.Feature... features) |
|