| Package | Description |
|---|---|
| com.alibaba.fastjson | |
| com.alibaba.fastjson.parser | |
| com.alibaba.fastjson.support.config |
| Modifier and Type | Method and Description |
|---|---|
static Object |
JSON.parse(byte[] input,
int off,
int len,
CharsetDecoder charsetDecoder,
Feature... features) |
static Object |
JSON.parse(String str,
Feature... features) |
static JSONArray |
JSON.parseArray(String str,
Feature... features) |
static <T> T |
JSON.parseObject(byte[] jsonBytes,
Type type,
Feature... features) |
static <T> T |
JSON.parseObject(char[] str,
Class type,
Feature... features) |
static JSONObject |
JSON.parseObject(String text,
Feature... features) |
static <T> T |
JSON.parseObject(String str,
Type type,
Feature... features) |
static <T> T |
JSON.parseObject(String str,
TypeReference typeReference,
Feature... features) |
| Constructor and Description |
|---|
JSONReader(Reader input,
Feature... features) |
| Modifier and Type | Method and Description |
|---|---|
static Feature |
Feature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Feature[] |
Feature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Feature.config(int features,
Feature feature,
boolean state) |
static boolean |
Feature.isEnabled(int features,
Feature feature) |
static int |
Feature.of(Feature[] features) |
| Modifier and Type | Method and Description |
|---|---|
Feature[] |
FastJsonConfig.getFeatures() |
| Modifier and Type | Method and Description |
|---|---|
void |
FastJsonConfig.setFeatures(Feature... features) |
Copyright © 2022 Alibaba Group. All rights reserved.