Uses of Enum
com.alibaba.fastjson2.JSONReader.Feature
Packages that use JSONReader.Feature
-
Uses of JSONReader.Feature in com.alibaba.fastjson2
Methods in com.alibaba.fastjson2 that return JSONReader.FeatureModifier and TypeMethodDescriptionstatic JSONReader.FeatureReturns the enum constant of this type with the specified name.static JSONReader.Feature[]JSONReader.Feature.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.alibaba.fastjson2 with parameters of type JSONReader.FeatureModifier and TypeMethodDescriptionstatic voidJSON.config(JSONReader.Feature... features) Enable the specified features in default readerstatic voidJSON.config(JSONReader.Feature feature, boolean state) Enable or disable the specified features in default readervoidJSONReader.Context.config(Filter[] filters, JSONReader.Feature... features) voidJSONReader.Context.config(Filter filter, JSONReader.Feature... features) voidJSONReader.Context.config(JSONReader.Feature... features) voidJSONReader.Context.config(JSONReader.Feature feature, boolean state) static JSONReader.ContextJSONFactory.createReadContext(Filter filter, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(ObjectReaderProvider provider, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(SymbolTable symbolTable, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(Supplier<Map> objectSupplier, JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(Supplier<Map> objectSupplier, Supplier<List> arraySupplier, JSONReader.Feature... features) <T> List<T>JSONObject.getList(String key, Class<T> itemClass, JSONReader.Feature... features) <T> TJSONArray.getObject(int index, Class<T> type, JSONReader.Feature... features) <T> TJSONArray.getObject(int index, Type type, JSONReader.Feature... features) <T> TJSONObject.getObject(String key, TypeReference<T> typeReference, JSONReader.Feature... features) Returns the result of theTypeconverter conversion of the associated value in thisJSONObject.<T> TJSONObject.getObject(String key, Class<T> type, JSONReader.Feature... features) Returns the result of theTypeconverter conversion of the associated value in thisJSONObject.<T> TJSONObject.getObject(String key, Type type, JSONReader.Feature... features) Returns the result of theTypeconverter conversion of the associated value in thisJSONObject.static booleanJSON.isEnabled(JSONReader.Feature feature) Check if the default reader enables the specified featurebooleanJSONReader.Context.isEnabled(JSONReader.Feature feature) final booleanJSONReader.isEnabled(JSONReader.Feature feature) static booleanJSON.isValid(String text, JSONReader.Feature... features) Verify that the json string is legal json textstatic JSONPathJSONPath.of(String[] paths, Type[] types, JSONReader.Feature... features) create multi-path jsonpathstatic JSONPathJSONPath.of(String[] paths, Type[] types, String[] formats, long[] pathFeatures, ZoneId zoneId, JSONReader.Feature... features) create multi-path jsonpathstatic longJSONReader.Feature.of(JSONReader.Feature[] features) static JSONReaderJSONReader.ofJSONB(byte[] jsonbBytes, JSONReader.Feature... features) static ObjectJSON.parse(byte[] bytes, JSONReader.Feature... features) Parses the json byte array as aJSONArrayorJSONObject.static ObjectJSON.parse(char[] chars, JSONReader.Feature... features) Parses the json char array as aJSONArrayorJSONObject.static ObjectJSON.parse(String text, int offset, int length, JSONReader.Feature... features) Parses the json string as aJSONArrayorJSONObject.static ObjectJSON.parse(String text, JSONReader.Feature... features) Parses the json string as aJSONArrayorJSONObject.static JSONArrayJSONArray.parse(String text, JSONReader.Feature... features) static ObjectJSONB.parse(byte[] jsonbBytes, JSONReader.Feature... features) static ObjectJSONB.parse(byte[] jsonbBytes, SymbolTable symbolTable, JSONReader.Feature... features) static JSONObjectJSONObject.parse(String text, JSONReader.Feature... features) SeeJSON.parse(java.lang.String)for detailsstatic <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 ofJSON.static <T> List<T>JSON.parseArray(byte[] bytes, Class<T> type, JSONReader.Feature... features) Parses the json byte array as a list ofJSON.static <T> List<T>JSON.parseArray(byte[] bytes, Type type, JSONReader.Feature... features) Parses the json byte array as a list ofJSON.static <T> List<T>JSON.parseArray(char[] chars, Class<T> type, JSONReader.Feature... features) Parses the json char array as a list ofJSON.static JSONArrayJSON.parseArray(InputStream in, JSONReader.Feature... features) Parses the json stream as aJSONArray.static JSONArrayJSON.parseArray(String text, JSONReader.Feature... features) Parses the json string as aJSONArray.static <T> List<T>JSON.parseArray(String text, Class<T> type, JSONReader.Feature... features) Parses the json string as a list ofJSON.static <T> List<T>JSON.parseArray(String text, Type[] types, JSONReader.Feature... features) Parses the json string as a list ofJSON.static <T> List<T>JSON.parseArray(String text, Type type, JSONReader.Feature... features) Parses the json string as a list ofJSON.static JSONArrayJSON.parseArray(URL url, JSONReader.Feature... features) Parses the json stream of the url as aJSONArray.static JSONArrayJSONArray.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) TypeReference.parseArray(byte[] utf8Bytes, JSONReader.Feature... features) SeeJSON.parseArray(byte[], Type, JSONReader.Feature...)for detailsTypeReference.parseArray(String text, JSONReader.Feature... features) SeeJSON.parseArray(String, JSONReader.Feature...)for detailsstatic JSONObjectJSON.parseObject(byte[] bytes, int offset, int length, JSONReader.Feature... features) Parses the json byte array as aJSONObject.static <T> TJSON.parseObject(byte[] bytes, int offset, int length, Type type, JSONReader.Feature... features) Parses the json byte array asJSON.static JSONObjectJSON.parseObject(byte[] bytes, int offset, int length, Charset charset, JSONReader.Feature... features) Parses the json byte array as aJSONObject.static <T> TJSON.parseObject(byte[] bytes, int offset, int length, Charset charset, Class<T> type, JSONReader.Feature... features) Parses the json byte array asJSON.static JSONObjectJSON.parseObject(byte[] bytes, JSONReader.Feature... features) Parses the json byte array as aJSONObject.static <T> TJSON.parseObject(byte[] bytes, Class<T> clazz, Filter filter, JSONReader.Feature... features) Parses the json byte array asJSON.static <T> TJSON.parseObject(byte[] bytes, Class<T> clazz, JSONReader.Feature... features) Parses the json byte array asJSON.static <T> TJSON.parseObject(byte[] bytes, Type type, Filter filter, JSONReader.Feature... features) Parses the json byte array asJSON.static <T> TJSON.parseObject(byte[] bytes, Type type, JSONReader.Feature... features) Parses the json byte array asJSON.static <T> TJSON.parseObject(byte[] bytes, Type type, String format, Filter[] filters, JSONReader.Feature... features) Parses the json byte array asJSON.static <T> TJSON.parseObject(byte[] bytes, Type type, String format, JSONReader.Feature... features) Parses the json byte array asJSON.static JSONObjectJSON.parseObject(char[] chars, int offset, int length, JSONReader.Feature... features) Parses the json chars array as aJSONObject.static <T> TJSON.parseObject(char[] chars, int offset, int length, Type type, JSONReader.Feature... features) Parses the json char array asJSON.static <T> TJSON.parseObject(char[] chars, Class<T> objectClass, JSONReader.Feature... features) Parses the json byte array asJSON.static <T> TJSON.parseObject(char[] chars, Type type, JSONReader.Feature... features) Parses the json byte array asJSON.static JSONObjectJSON.parseObject(InputStream input, JSONReader.Feature... features) Parses the json stream as aJSONObject.static <T> TJSON.parseObject(InputStream input, Type type, JSONReader.Feature... features) Parses the json stream as aJSON.static <T> TJSON.parseObject(InputStream input, Type type, String format, JSONReader.Feature... features) Parses the json stream as aJSON.static <T> voidJSON.parseObject(InputStream input, Type type, Consumer<T> consumer, JSONReader.Feature... features) Parses the json stream through the specified delimiter asJSONobjects and call the specified consumer to consume itstatic <T> voidJSON.parseObject(InputStream input, Charset charset, char delimiter, Type type, Consumer<T> consumer, JSONReader.Feature... features) Parses the json stream through the specified delimiter asJSONobjects and call the specified consumer to consume itstatic <T> TJSON.parseObject(InputStream input, Charset charset, Type type, JSONReader.Feature... features) Parses the json stream as aJSON.static JSONObjectJSON.parseObject(Reader input, JSONReader.Feature... features) Parses the json reader as aJSONObject.static <T> TJSON.parseObject(Reader input, Type type, JSONReader.Feature... features) Parses the json reader as aJSON.static JSONObjectJSON.parseObject(String text, int offset, int length, JSONReader.Feature... features) Parses the json string as aJSONObject.static <T> TJSON.parseObject(String text, int offset, int length, Class<T> clazz, JSONReader.Feature... features) Parses the json string asJSON.static JSONObjectJSON.parseObject(String text, JSONReader.Feature... features) Parses the json string as aJSONObject.static <T> TJSON.parseObject(String text, TypeReference<T> typeReference, Filter filter, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, TypeReference<T> typeReference, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Class<T> clazz, Filter filter, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Class<T> clazz, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Class<T> clazz, String format, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Type type, Filter filter, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Type type, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Type type, String format, Filter[] filters, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(String text, Type type, String format, JSONReader.Feature... features) Parses the json string asJSON.static <T> TJSON.parseObject(URL url, Class<T> objectClass, JSONReader.Feature... features) Parses the json stream of the url asJSON.static <T> TJSON.parseObject(URL url, Type type, JSONReader.Feature... features) Parses the json stream of the url asJSON.static <T> TJSON.parseObject(URL url, Function<JSONObject, T> function, JSONReader.Feature... features) Parses the json stream of the url as aJSONObjectand call the function to convert it toJSON.static <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Class<T> objectClass, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Class<T> objectClass, SymbolTable symbolTable, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Type objectType, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, int off, int len, Type objectClass, SymbolTable symbolTable, JSONReader.Feature... features) static JSONObjectJSONB.parseObject(byte[] jsonbBytes, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, TypeReference typeReference, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, Class<T> objectClass, Filter filter, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, Class<T> objectClass, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, Type objectClass, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, Type objectType, SymbolTable symbolTable, Filter[] filters, JSONReader.Feature... features) static <T> TJSONB.parseObject(byte[] jsonbBytes, Type objectType, SymbolTable symbolTable, JSONReader.Feature... features) static <T> TJSONB.parseObject(InputStream in, int length, Type objectType, JSONReader.Feature... features) static <T> TJSONB.parseObject(InputStream in, Class objectClass, JSONReader.Feature... features) static <T> TJSONB.parseObject(InputStream in, Type objectType, JSONReader.Feature... features) static <T> TJSONObject.parseObject(String text, TypeReference<T> typeReference, JSONReader.Feature... features) SeeJSON.parseObject(java.lang.String)for detailsstatic <T> TJSONObject.parseObject(String text, Class<T> objectClass, JSONReader.Feature... features) SeeJSON.parseObject(java.lang.String)for detailsstatic <T> TJSONObject.parseObject(String text, Type objectType, JSONReader.Feature... features) SeeJSON.parseObject(java.lang.String)for detailsfinal voidJSONReader.readObject(Object object, JSONReader.Feature... features) abstract voidJSONPath.set(Object object, Object value, JSONReader.Feature... readerFeatures) voidJSONPathCompilerReflect.SingleNamePathTyped.set(Object rootObject, Object value, JSONReader.Feature... readerFeatures) <T> TJSONObject.to(TypeReference<T> typeReference, JSONReader.Feature... features) Convert thisJSONObjectto the specified Object<T> TJSONObject.to(Class<T> clazz, JSONReader.Feature... features) Convert thisJSONObjectto the specified Object<T> TJSONObject.to(Type type, JSONReader.Feature... features) Convert thisJSONObjectto the specified ObjectTypeReference.to(JSONObject object, JSONReader.Feature... features) SeeJSONObject.to(Type, JSONReader.Feature...)for details<T> T[]JSONArray.toArray(Class<T> itemClass, JSONReader.Feature... features) Convert all the members of thisJSONArrayinto the specified Object.<T> List<T>JSONArray.toJavaList(Class<T> clazz, JSONReader.Feature... features) Convert all the members of thisJSONArrayinto the specified Object.<T> TJSONObject.toJavaObject(TypeReference<T> typeReference, JSONReader.Feature... features) Deprecated.<T> TJSONObject.toJavaObject(Class<T> clazz, JSONReader.Feature... features) Convert thisJSONObjectto the specified Object<T> TJSONObject.toJavaObject(Type type, JSONReader.Feature... features) Deprecated.since 2.0.4, please useJSONObject.to(Type, JSONReader.Feature...)TypeReference.toJavaObject(JSONObject object, JSONReader.Feature... features) Deprecated.since 2.0.4, please useTypeReference.to(JSONObject, JSONReader.Feature...)<T> List<T>JSONArray.toList(Class<T> itemClass, JSONReader.Feature... features) Convert all the members of thisJSONArrayinto the specified Object.Constructors in com.alibaba.fastjson2 with parameters of type JSONReader.FeatureModifierConstructorDescriptionContext(JSONReader.Feature... features) Context(ObjectReaderProvider provider, Filter filter, JSONReader.Feature... features) Context(ObjectReaderProvider provider, JSONReader.Feature... features) Context(ObjectReaderProvider provider, SymbolTable symbolTable, Filter[] filters, JSONReader.Feature... features) Context(ObjectReaderProvider provider, SymbolTable symbolTable, JSONReader.Feature... features) Context(String dateFormat, JSONReader.Feature... features) -
Uses of JSONReader.Feature in com.alibaba.fastjson2.reader
Methods in com.alibaba.fastjson2.reader with parameters of type JSONReader.FeatureModifier and TypeMethodDescriptiondefault TObjectReader.createInstance(Collection collection, JSONReader.Feature... features) default TObjectReader.createInstance(Map map, JSONReader.Feature... features) -
Uses of JSONReader.Feature in com.alibaba.fastjson2.util
Methods in com.alibaba.fastjson2.util with parameters of type JSONReader.FeatureModifier and TypeMethodDescriptionstatic <T> TPropertiesUtils.toJavaObject(Properties properties, ObjectReaderProvider provider, Class<T> clazz, JSONReader.Feature... features)
JSONObject.to(Type, JSONReader.Feature...)