static void |
JSON.config(JSONReader.Feature... features) |
Enable the specified features in default reader
|
static void |
JSON.config(JSONReader.Feature feature,
boolean state) |
Enable or disable the specified features in default reader
|
void |
JSONReader.Context.config(Filter[] filters,
JSONReader.Feature... features) |
|
void |
JSONReader.Context.config(Filter filter,
JSONReader.Feature... features) |
|
void |
JSONReader.Context.config(JSONReader.Feature... features) |
|
void |
JSONReader.Context.config(JSONReader.Feature feature,
boolean state) |
|
void |
JSONObject.copyTo(Object object,
JSONReader.Feature... features) |
|
static JSONReader.Context |
JSONFactory.createReadContext(Filter filter,
JSONReader.Feature... features) |
|
static JSONReader.Context |
JSONFactory.createReadContext(JSONReader.Feature... features) |
|
static JSONReader.Context |
JSONFactory.createReadContext(ObjectReaderProvider provider,
JSONReader.Feature... features) |
|
static JSONReader.Context |
JSONFactory.createReadContext(SymbolTable symbolTable,
JSONReader.Feature... features) |
|
static JSONReader.Context |
JSONFactory.createReadContext(Supplier<Map> objectSupplier,
JSONReader.Feature... features) |
|
static JSONReader.Context |
JSONFactory.createReadContext(Supplier<Map> objectSupplier,
Supplier<List> arraySupplier,
JSONReader.Feature... features) |
|
<T> List<T> |
JSONObject.getList(String key,
Class<T> itemClass,
JSONReader.Feature... features) |
|
<T> T |
JSONArray.getObject(int index,
Class<T> type,
JSONReader.Feature... features) |
Returns the result of the Type converter conversion of the element at the specified position in this JSONArray.
|
<T> T |
JSONArray.getObject(int index,
Type type,
JSONReader.Feature... features) |
Returns the result of the Type converter conversion of the element at the specified position in this JSONArray.
|
<T> T |
JSONObject.getObject(String key,
TypeReference<T> typeReference,
JSONReader.Feature... features) |
Returns the result of the Type converter conversion of the associated value in this JSONObject.
|
<T> T |
JSONObject.getObject(String key,
Class<T> type,
JSONReader.Feature... features) |
Returns the result of the Type converter conversion of the associated value in this JSONObject.
|
<T> T |
JSONObject.getObject(String key,
Type type,
JSONReader.Feature... features) |
Returns the result of the Type converter conversion of the associated value in this JSONObject.
|
static boolean |
JSON.isEnabled(JSONReader.Feature feature) |
Check if the default reader enables the specified feature
|
boolean |
JSONReader.Context.isEnabled(JSONReader.Feature feature) |
|
static boolean |
JSONReader.Feature.isEnabled(long features,
JSONReader.Feature feature) |
|
boolean |
JSONReader.isEnabled(JSONReader.Feature feature) |
|
static boolean |
JSON.isValid(String text,
JSONReader.Feature... features) |
Verify that the json string is legal json text
|
static JSONPath |
JSONPath.of(String[] paths,
Type[] types,
JSONReader.Feature... features) |
create multi-path jsonpath
|
static JSONPath |
JSONPath.of(String[] paths,
Type[] types,
String[] formats,
long[] pathFeatures,
ZoneId zoneId,
JSONReader.Feature... features) |
create multi-path jsonpath
|
static long |
JSONReader.Feature.of(JSONReader.Feature[] features) |
|
static JSONReader |
JSONReader.ofJSONB(byte[] jsonbBytes,
JSONReader.Feature... features) |
|
static Object |
JSON.parse(byte[] bytes,
JSONReader.Feature... features) |
|
static Object |
JSON.parse(char[] chars,
JSONReader.Feature... features) |
|
static Object |
JSON.parse(String text,
int offset,
int length,
JSONReader.Feature... features) |
|
static Object |
JSON.parse(String text,
JSONReader.Feature... features) |
|
static JSONArray |
JSONArray.parse(String text,
JSONReader.Feature... features) |
|
static Object |
JSONB.parse(byte[] jsonbBytes,
JSONReader.Feature... features) |
|
static Object |
JSONB.parse(byte[] jsonbBytes,
SymbolTable symbolTable,
JSONReader.Feature... features) |
|
static JSONObject |
JSONObject.parse(String text,
JSONReader.Feature... features) |
|
static <T> List<T> |
JSON.parseArray(byte[] bytes,
int offset,
int length,
Charset charset,
Class<T> type,
JSONReader.Feature... features) |
Parses the json byte array as a list of JSON.
|
static <T> List<T> |
JSON.parseArray(byte[] bytes,
Class<T> type,
JSONReader.Feature... features) |
Parses the json byte array as a list of JSON.
|
static <T> List<T> |
JSON.parseArray(byte[] bytes,
Type type,
JSONReader.Feature... features) |
Parses the json byte array as a list of JSON.
|
static <T> List<T> |
JSON.parseArray(char[] chars,
Class<T> type,
JSONReader.Feature... features) |
Parses the json char array as a list of JSON.
|
static JSONArray |
JSON.parseArray(InputStream in,
JSONReader.Feature... features) |
|
static JSONArray |
JSON.parseArray(String text,
JSONReader.Feature... features) |
|
static <T> List<T> |
JSON.parseArray(String text,
Class<T> type,
JSONReader.Feature... features) |
Parses the json string as a list of JSON.
|
static <T> List<T> |
JSON.parseArray(String text,
Type[] types,
JSONReader.Feature... features) |
Parses the json string as a list of JSON.
|
static <T> List<T> |
JSON.parseArray(String text,
Type type,
JSONReader.Feature... features) |
Parses the json string as a list of JSON.
|
static JSONArray |
JSON.parseArray(URL url,
JSONReader.Feature... features) |
Parses the json stream of the url as a JSONArray.
|
static JSONArray |
JSONArray.parseArray(String text,
JSONReader.Feature... features) |
|
static <T> List<T> |
JSONArray.parseArray(String text,
Class<T> type,
JSONReader.Feature... features) |
|
static <T> List<T> |
JSONB.parseArray(byte[] jsonbBytes,
Type[] types,
JSONReader.Feature... features) |
|
static <T> List<T> |
JSONB.parseArray(byte[] jsonbBytes,
Type type,
JSONReader.Feature... features) |
|
List<T> |
TypeReference.parseArray(byte[] utf8Bytes,
JSONReader.Feature... features) |
|
List<T> |
TypeReference.parseArray(String text,
JSONReader.Feature... features) |
|
static JSONObject |
JSON.parseObject(byte[] bytes,
int offset,
int length,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(byte[] bytes,
int offset,
int length,
Type type,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static JSONObject |
JSON.parseObject(byte[] bytes,
int offset,
int length,
Charset charset,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(byte[] bytes,
int offset,
int length,
Charset charset,
Class<T> type,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static JSONObject |
JSON.parseObject(byte[] bytes,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(byte[] bytes,
Class<T> clazz,
Filter filter,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static <T> T |
JSON.parseObject(byte[] bytes,
Class<T> clazz,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static <T> T |
JSON.parseObject(byte[] bytes,
Type type,
Filter filter,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static <T> T |
JSON.parseObject(byte[] bytes,
Type type,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static <T> T |
JSON.parseObject(byte[] bytes,
Type type,
String format,
Filter[] filters,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static <T> T |
JSON.parseObject(byte[] bytes,
Type type,
String format,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static JSONObject |
JSON.parseObject(char[] chars,
int offset,
int length,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(char[] chars,
int offset,
int length,
Type type,
JSONReader.Feature... features) |
Parses the json char array as JSON.
|
static <T> T |
JSON.parseObject(char[] chars,
Class<T> objectClass,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static <T> T |
JSON.parseObject(char[] chars,
Type type,
JSONReader.Feature... features) |
Parses the json byte array as JSON.
|
static JSONObject |
JSON.parseObject(InputStream input,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(InputStream input,
Type type,
JSONReader.Feature... features) |
Parses the json stream as a JSON.
|
static <T> T |
JSON.parseObject(InputStream input,
Type type,
String format,
JSONReader.Feature... features) |
Parses the json stream as a JSON.
|
static <T> void |
JSON.parseObject(InputStream input,
Type type,
Consumer<T> consumer,
JSONReader.Feature... features) |
Parses the json stream through the specified delimiter as
JSON objects and call the specified consumer to consume it
|
static <T> void |
JSON.parseObject(InputStream input,
Charset charset,
char delimiter,
Type type,
Consumer<T> consumer,
JSONReader.Feature... features) |
Parses the json stream through the specified delimiter as
JSON objects and call the specified consumer to consume it
|
static <T> T |
JSON.parseObject(InputStream input,
Charset charset,
Type type,
JSONReader.Feature... features) |
Parses the json stream as a JSON.
|
static JSONObject |
JSON.parseObject(Reader input,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(Reader input,
Type type,
JSONReader.Feature... features) |
Parses the json reader as a JSON.
|
static JSONObject |
JSON.parseObject(String text,
int offset,
int length,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(String text,
int offset,
int length,
Class<T> clazz,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static JSONObject |
JSON.parseObject(String text,
JSONReader.Feature... features) |
|
static <T> T |
JSON.parseObject(String text,
TypeReference<T> typeReference,
Filter filter,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
TypeReference<T> typeReference,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
Class<T> clazz,
Filter filter,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
Class<T> clazz,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
Class<T> clazz,
String format,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
Type type,
Filter filter,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
Type type,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
Type type,
String format,
Filter[] filters,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(String text,
Type type,
String format,
JSONReader.Feature... features) |
Parses the json string as JSON.
|
static <T> T |
JSON.parseObject(URL url,
Class<T> objectClass,
JSONReader.Feature... features) |
Parses the json stream of the url as JSON.
|
static <T> T |
JSON.parseObject(URL url,
Type type,
JSONReader.Feature... features) |
Parses the json stream of the url as JSON.
|
static <T> T |
JSON.parseObject(URL url,
Function<JSONObject,T> function,
JSONReader.Feature... features) |
Parses the json stream of the url as a JSONObject and call the function
to convert it to JSON.
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
int off,
int len,
Class<T> objectClass,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
int off,
int len,
Class<T> objectClass,
SymbolTable symbolTable,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
int off,
int len,
Type objectType,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
int off,
int len,
Type objectClass,
SymbolTable symbolTable,
JSONReader.Feature... features) |
|
static JSONObject |
JSONB.parseObject(byte[] jsonbBytes,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
TypeReference typeReference,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
Class<T> objectClass,
Filter filter,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
Class<T> objectClass,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
Type objectClass,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
Type objectType,
SymbolTable symbolTable,
Filter[] filters,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(byte[] jsonbBytes,
Type objectType,
SymbolTable symbolTable,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(InputStream in,
int length,
Type objectType,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(InputStream in,
Class objectClass,
JSONReader.Feature... features) |
|
static <T> T |
JSONB.parseObject(InputStream in,
Type objectType,
JSONReader.Feature... features) |
|
static <T> T |
JSONObject.parseObject(String text,
TypeReference<T> typeReference,
JSONReader.Feature... features) |
|
static <T> T |
JSONObject.parseObject(String text,
Class<T> objectClass,
JSONReader.Feature... features) |
|
static <T> T |
JSONObject.parseObject(String text,
Type objectType,
JSONReader.Feature... features) |
|
void |
JSONReader.readObject(Object object,
JSONReader.Feature... features) |
|
abstract void |
JSONPath.set(Object object,
Object value,
JSONReader.Feature... readerFeatures) |
|
void |
JSONPathCompilerReflect.SingleNamePathTyped.set(Object rootObject,
Object value,
JSONReader.Feature... readerFeatures) |
|
<T> T |
JSONObject.to(TypeReference<T> typeReference,
JSONReader.Feature... features) |
|
<T> T |
JSONObject.to(Class<T> clazz,
JSONReader.Feature... features) |
|
<T> T |
JSONObject.to(Type type,
JSONReader.Feature... features) |
|
T |
TypeReference.to(JSONObject object,
JSONReader.Feature... features) |
|
<T> T[] |
JSONArray.toArray(Class<T> itemClass,
JSONReader.Feature... features) |
Convert all the members of this JSONArray into the specified Object.
|
<T> List<T> |
JSONArray.toJavaList(Class<T> clazz,
JSONReader.Feature... features) |
Convert all the members of this JSONArray into the specified Object.
|
<T> T |
JSONObject.toJavaObject(TypeReference<T> typeReference,
JSONReader.Feature... features) |
Deprecated.
|
<T> T |
JSONObject.toJavaObject(Class<T> clazz,
JSONReader.Feature... features) |
|
<T> T |
JSONObject.toJavaObject(Type type,
JSONReader.Feature... features) |
Deprecated.
|
T |
TypeReference.toJavaObject(JSONObject object,
JSONReader.Feature... features) |
Deprecated.
|
<T> List<T> |
JSONArray.toList(Class<T> itemClass,
JSONReader.Feature... features) |
Convert all the members of this JSONArray into the specified Object.
|