Uses of Class
com.alibaba.fastjson.parser.Feature
-
Packages that use Feature Package Description com.alibaba.fastjson com.alibaba.fastjson.annotation com.alibaba.fastjson.parser com.alibaba.fastjson.support.config com.alibaba.fastjson.support.retrofit -
-
Uses of Feature in com.alibaba.fastjson
Methods in com.alibaba.fastjson with parameters of type Feature Modifier and Type Method Description voidJSONReader. config(Feature feature, boolean state)static ObjectJSONPath. extract(String json, String path, ParserConfig config, int features, Feature... optionFeatures)static ObjectJSON. parse(byte[] input, int off, int len, CharsetDecoder charsetDecoder, Feature... features)static ObjectJSON. parse(byte[] input, Feature... features)static ObjectJSON. parse(String text, Feature... features)static ObjectJSON. parse(String text, ParserConfig config, Feature... features)static <T> TJSON. parseObject(byte[] input, int off, int len, CharsetDecoder charsetDecoder, Type clazz, Feature... features)static <T> TJSON. parseObject(byte[] bytes, int offset, int len, Charset charset, Type clazz, Feature... features)static <T> TJSON. parseObject(byte[] bytes, int offset, int len, Charset charset, Type clazz, ParserConfig config, ParseProcess processor, int featureValues, Feature... features)static <T> TJSON. parseObject(byte[] bytes, Type clazz, Feature... features)static <T> TJSON. parseObject(byte[] bytes, Charset charset, Type clazz, ParserConfig config, ParseProcess processor, int featureValues, Feature... features)static <T> TJSON. parseObject(char[] input, int length, Type clazz, Feature... features)static <T> TJSON. parseObject(InputStream is, Type type, Feature... features)static <T> TJSON. parseObject(InputStream is, Charset charset, Type type, Feature... features)static <T> TJSON. parseObject(InputStream is, Charset charset, Type type, ParserConfig config, ParseProcess processor, int featureValues, Feature... features)static <T> TJSON. parseObject(InputStream is, Charset charset, Type type, ParserConfig config, Feature... features)static JSONObjectJSON. parseObject(String text, Feature... features)static <T> TJSON. parseObject(String text, TypeReference<T> type, Feature... features)String jsonStr = "[{\"id\":1001,\"name\":\"Jobs\"}]"; List<Model> models = JSON.parseObject(jsonStr, new TypeReference<List<Model>>() {});static <T> TJSON. parseObject(String text, Class<T> clazz, ParseProcess processor, Feature... features)static <T> TJSON. parseObject(String json, Class<T> clazz, Feature... features)This method deserializes the specified Json into an object of the specified class.static <T> TJSON. parseObject(String input, Type clazz, int featureValues, Feature... features)static <T> TJSON. parseObject(String input, Type clazz, ParseProcess processor, Feature... features)static <T> TJSON. parseObject(String json, Type type, Feature... features)This method deserializes the specified Json into an object of the specified type.static <T> TJSON. parseObject(String input, Type clazz, ParserConfig config, int featureValues, Feature... features)static <T> TJSON. parseObject(String input, Type clazz, ParserConfig config, ParseProcess processor, int featureValues, Feature... features)static <T> TJSON. parseObject(String input, Type clazz, ParserConfig config, Feature... features)Constructors in com.alibaba.fastjson with parameters of type Feature Constructor Description JSONReader(Reader reader, Feature... features) -
Uses of Feature in com.alibaba.fastjson.annotation
Methods in com.alibaba.fastjson.annotation that return Feature Modifier and Type Method Description Feature[]parseFeatures()Feature[]parseFeatures() -
Uses of Feature in com.alibaba.fastjson.parser
Methods in com.alibaba.fastjson.parser that return Feature Modifier and Type Method Description static FeatureFeature. 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.Methods in com.alibaba.fastjson.parser with parameters of type Feature Modifier and Type Method Description voidDefaultJSONParser. config(Feature feature, boolean state)static intFeature. config(int features, Feature feature, boolean state)voidJSONLexer. config(Feature feature, boolean state)voidJSONLexerBase. config(Feature feature, boolean state)booleanDefaultJSONParser. isEnabled(Feature feature)static booleanFeature. isEnabled(int features, Feature feature)booleanJSONLexer. isEnabled(Feature feature)booleanJSONLexerBase. isEnabled(Feature feature)static intFeature. of(Feature[] features) -
Uses of Feature in com.alibaba.fastjson.support.config
Methods in com.alibaba.fastjson.support.config that return Feature Modifier and Type Method Description Feature[]FastJsonConfig. getFeatures()Methods in com.alibaba.fastjson.support.config with parameters of type Feature Modifier and Type Method Description voidFastJsonConfig. setFeatures(Feature... features) -
Uses of Feature in com.alibaba.fastjson.support.retrofit
Methods in com.alibaba.fastjson.support.retrofit that return Feature Modifier and Type Method Description Feature[]Retrofit2ConverterFactory. getParserFeatures()Deprecated.Methods in com.alibaba.fastjson.support.retrofit with parameters of type Feature Modifier and Type Method Description Retrofit2ConverterFactoryRetrofit2ConverterFactory. setParserFeatures(Feature[] features)Deprecated.
-