void |
JSONReader.config(Feature feature,
boolean state) |
static Object |
JSONPath.extract(String json,
String path,
ParserConfig config,
int features,
Feature... optionFeatures) |
static Object |
JSON.parse(byte[] input,
Feature... features) |
static Object |
JSON.parse(byte[] input,
int off,
int len,
CharsetDecoder charsetDecoder,
Feature... features) |
static Object |
JSON.parse(String text,
Feature... features) |
static Object |
JSON.parse(String text,
ParserConfig config,
Feature... features) |
static <T> T |
JSON.parseObject(byte[] bytes,
Charset charset,
Type clazz,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
JSON.parseObject(byte[] input,
int off,
int len,
CharsetDecoder charsetDecoder,
Type clazz,
Feature... features) |
static <T> T |
JSON.parseObject(byte[] bytes,
int offset,
int len,
Charset charset,
Type clazz,
Feature... features) |
static <T> T |
JSON.parseObject(byte[] bytes,
int offset,
int len,
Charset charset,
Type clazz,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
JSON.parseObject(byte[] bytes,
Type clazz,
Feature... features) |
static <T> T |
JSON.parseObject(char[] input,
int length,
Type clazz,
Feature... features) |
static <T> T |
JSON.parseObject(InputStream is,
Charset charset,
Type type,
Feature... features) |
static <T> T |
JSON.parseObject(InputStream is,
Charset charset,
Type type,
ParserConfig config,
Feature... features) |
static <T> T |
JSON.parseObject(InputStream is,
Charset charset,
Type type,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
JSON.parseObject(InputStream is,
Type type,
Feature... features) |
static <T> T |
JSON.parseObject(String json,
Class<T> clazz,
Feature... features)
This method deserializes the specified Json into an object of the specified class.
|
static <T> T |
JSON.parseObject(String text,
Class<T> clazz,
ParseProcess processor,
Feature... features) |
static JSONObject |
JSON.parseObject(String text,
Feature... features) |
static <T> T |
JSON.parseObject(String json,
Type type,
Feature... features)
This method deserializes the specified Json into an object of the specified type.
|
static <T> T |
JSON.parseObject(String input,
Type clazz,
int featureValues,
Feature... features) |
static <T> T |
JSON.parseObject(String input,
Type clazz,
ParseProcess processor,
Feature... features) |
static <T> T |
JSON.parseObject(String input,
Type clazz,
ParserConfig config,
Feature... features) |
static <T> T |
JSON.parseObject(String input,
Type clazz,
ParserConfig config,
int featureValues,
Feature... features) |
static <T> T |
JSON.parseObject(String input,
Type clazz,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features) |
static <T> T |
JSON.parseObject(String text,
TypeReference<T> type,
Feature... features)
String jsonStr = "[{\"id\":1001,\"name\":\"Jobs\"}]";
List<Model> models = JSON.parseObject(jsonStr, new TypeReference<List<Model>>() {});
|