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(JSONReader.Feature... features) static JSONReader.ContextJSONFactory.createReadContext(ObjectReaderProvider provider, 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<?> 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) booleanJSONReader.isEnabled(JSONReader.Feature feature) static 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) Parse UTF8 encoded JSON byte array intoJSONArrayorJSONObjectwith specifiedJSONReader.Features enabledstatic ObjectJSON.parse(char[] chars, JSONReader.Feature... features) static ObjectJSON.parse(String text, int offset, int length, JSONReader.Feature... features) static ObjectJSON.parse(String text, JSONReader.Feature... features) static JSONArrayJSONArray.parse(String text, JSONReader.Feature... features) static ObjectJSONB.parse(byte[] jsonbBytes, 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) Parse UTF8 encoded JSON byte array intoListwith specifiedJSONReader.Features enabledstatic <T> List<T>JSON.parseArray(byte[] bytes, Class<T> type, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array intoListwith specifiedJSONReader.Features enabledstatic <T> List<T>JSON.parseArray(byte[] bytes, Type type, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array intoListwith specifiedJSONReader.Features enabledstatic <T> List<T>JSON.parseArray(char[] chars, Class<T> type, JSONReader.Feature... features) static JSONArrayJSON.parseArray(InputStream in, JSONReader.Feature... features) Parse JSONInputStreamintoJSONArraystatic JSONArrayJSON.parseArray(String text, JSONReader.Feature... features) static <T> List<T>JSON.parseArray(String text, Class<T> type, JSONReader.Feature... features) static <T> List<T>JSON.parseArray(String text, Type[] types, JSONReader.Feature... features) static <T> List<T>JSON.parseArray(String text, Type type, JSONReader.Feature... features) static JSONArrayJSON.parseArray(URL url, JSONReader.Feature... features) Parse JSONInputStreamintoJSONArraystatic JSONArrayJSONArray.parseArray(String text, 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) Parse UTF8 encoded JSON byte array intoJSONObjectstatic <T> TJSON.parseObject(byte[] bytes, int offset, int length, Type type, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array into a Java objectstatic JSONObjectJSON.parseObject(byte[] bytes, int offset, int length, Charset charset, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array intoJSONObjectstatic <T> TJSON.parseObject(byte[] bytes, int offset, int length, Charset charset, Class<T> type, JSONReader.Feature... features) Parses the JSON byte array of the specifiedCharsetinto a Java Objectstatic JSONObjectJSON.parseObject(byte[] bytes, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array intoJSONObjectstatic <T> TJSON.parseObject(byte[] utf8Bytes, Class<T> clazz, Filter filter, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array into a Java objectstatic <T> TJSON.parseObject(byte[] bytes, Class<T> clazz, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array into a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(byte[] bytes, Type type, Filter filter, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array into a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(byte[] bytes, Type type, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array into a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(byte[] utf8Bytes, Type type, String format, Filter[] filters, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array into a Java objectstatic <T> TJSON.parseObject(byte[] bytes, Type type, String format, JSONReader.Feature... features) Parse UTF8 encoded JSON byte array into a Java object with specifiedJSONReader.Features enabledstatic JSONObjectJSON.parseObject(char[] chars, int offset, int length, JSONReader.Feature... features) Parse JSON char array intoJSONObjectstatic <T> TJSON.parseObject(char[] chars, int offset, int length, Type type, JSONReader.Feature... features) Parse JSON char array into a Java object with specifiedJSONReader.Features enabledstatic JSONObjectJSON.parseObject(InputStream input, JSONReader.Feature... features) Parse UTF8 inputStream into intoJSONObjectstatic <T> TJSON.parseObject(InputStream input, Type type, JSONReader.Feature... features) Parse UTF8 inputStream into a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(InputStream input, Type type, String format, JSONReader.Feature... features) Parse UTF8 inputStream into a Java object with specifiedJSONReader.Features enabledstatic <T> voidJSON.parseObject(InputStream input, Type type, Consumer<T> consumer, JSONReader.Feature... features) ParseInputStreaminto a Java object with specifiedJSONReader.Features enabled and consume itstatic <T> voidJSON.parseObject(InputStream input, Charset charset, char delimiter, Type type, Consumer<T> consumer, JSONReader.Feature... features) ParseInputStreaminto a Java object with specifiedJSONReader.Features enabled and consume itstatic <T> TJSON.parseObject(InputStream input, Charset charset, Type type, JSONReader.Feature... features) Parse UTF8 inputStream into a Java object with specifiedJSONReader.Features enabledstatic JSONObjectJSON.parseObject(Reader input, JSONReader.Feature... features) Parse Reader into intoJSONObjectstatic <T> TJSON.parseObject(Reader input, Type type, JSONReader.Feature... features) Parse Reader into a Java object with specifiedJSONReader.Features enabledstatic JSONObjectJSON.parseObject(String text, int offset, int length, JSONReader.Feature... features) Parse JSONStringintoJSONObjectstatic <T> TJSON.parseObject(String text, int offset, int length, Class<T> clazz, JSONReader.Feature... features) Parse JSONStringinto a Java object with specifiedJSONReader.Features enabledstatic JSONObjectJSON.parseObject(String text, JSONReader.Feature... features) Parse JSONStringintoJSONObjectstatic <T> TJSON.parseObject(String text, TypeReference typeReference, Filter filter, JSONReader.Feature... features) Parse JSONStringinto Java Objectstatic <T> TJSON.parseObject(String text, TypeReference typeReference, JSONReader.Feature... features) Parse JSONStringinto Java Objectstatic <T> TJSON.parseObject(String text, Class<T> clazz, Filter filter, JSONReader.Feature... features) Parse JSONStringinto Java Objectstatic <T> TJSON.parseObject(String text, Class<T> clazz, JSONReader.Feature... features) Parse JSONStringinto a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(String text, Class<T> clazz, String format, JSONReader.Feature... features) Parse JSONStringinto a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(String text, Type type, Filter filter, JSONReader.Feature... features) Parse JSONStringinto a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(String text, Type type, JSONReader.Feature... features) Parse JSONStringinto a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(String text, Type type, String format, Filter[] filters, JSONReader.Feature... features) Parse JSONStringinto Java Objectstatic <T> TJSON.parseObject(String text, Type type, String format, JSONReader.Feature... features) Parse JSONStringinto a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(URL url, Class<T> objectClass, JSONReader.Feature... features) Parse UTF8 URL Resource into a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(URL url, Type type, JSONReader.Feature... features) Parse UTF8 URL Resource into a Java object with specifiedJSONReader.Features enabledstatic <T> TJSON.parseObject(URL url, Function<JSONObject, T> function, JSONReader.Feature... features) Parse UTF8 URL Resource into a Java object with specifiedJSONReader.Features enabledstatic <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> TJSONObject.parseObject(String text, TypeReference<?> 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 detailsvoidJSONReader.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<?> 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<?> 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. -
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(Map map, JSONReader.Feature... features)
JSONObject.to(Type, JSONReader.Feature...)