|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Feature 的软件包 | |
|---|---|
| com.alibaba.fastjson | |
| com.alibaba.fastjson.parser | |
| com.alibaba.fastjson 中 Feature 的使用 |
|---|
| 参数类型为 Feature 的 com.alibaba.fastjson 中的方法 | ||
|---|---|---|
void |
JSONReader.config(Feature feature,
boolean state)
|
|
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
|
JSON.parseObject(byte[] input,
int off,
int len,
CharsetDecoder charsetDecoder,
Type clazz,
Feature... features)
|
|
static
|
JSON.parseObject(byte[] input,
Type clazz,
Feature... features)
|
|
static
|
JSON.parseObject(char[] input,
int length,
Type clazz,
Feature... features)
|
|
static
|
JSON.parseObject(String text,
Class<T> clazz,
Feature... features)
|
|
static
|
JSON.parseObject(String text,
Class<T> clazz,
ParseProcess processor,
Feature... features)
|
|
static JSONObject |
JSON.parseObject(String text,
Feature... features)
|
|
static
|
JSON.parseObject(String input,
Type clazz,
Feature... features)
|
|
static
|
JSON.parseObject(String input,
Type clazz,
int featureValues,
Feature... features)
|
|
static
|
JSON.parseObject(String input,
Type clazz,
ParseProcess processor,
Feature... features)
|
|
static
|
JSON.parseObject(String input,
Type clazz,
ParserConfig config,
int featureValues,
Feature... features)
|
|
static
|
JSON.parseObject(String input,
Type clazz,
ParserConfig config,
ParseProcess processor,
int featureValues,
Feature... features)
|
|
static
|
JSON.parseObject(String text,
TypeReference<T> type,
Feature... features)
|
|
| com.alibaba.fastjson.parser 中 Feature 的使用 |
|---|
| 返回 Feature 的 com.alibaba.fastjson.parser 中的方法 | |
|---|---|
static Feature |
Feature.valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static Feature[] |
Feature.values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
| 参数类型为 Feature 的 com.alibaba.fastjson.parser 中的方法 | |
|---|---|
void |
DefaultJSONParser.config(Feature feature,
boolean state)
|
void |
JSONLexerBase.config(Feature feature,
boolean state)
|
void |
JSONLexer.config(Feature feature,
boolean state)
|
static int |
Feature.config(int features,
Feature feature,
boolean state)
|
boolean |
DefaultJSONParser.isEnabled(Feature feature)
|
boolean |
JSONLexerBase.isEnabled(Feature feature)
|
boolean |
JSONLexer.isEnabled(Feature feature)
|
static boolean |
Feature.isEnabled(int features,
Feature feature)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||