Uses of Class
com.alibaba.fastjson2.TypeReference
-
Packages that use TypeReference Package Description com.alibaba.fastjson2 com.alibaba.fastjson2.util -
-
Uses of TypeReference in com.alibaba.fastjson2
Methods in com.alibaba.fastjson2 that return TypeReference Modifier and Type Method Description static TypeReference<?>TypeReference. get(Type type)Methods in com.alibaba.fastjson2 with parameters of type TypeReference Modifier and Type Method Description <T> TJSONObject. getObject(String key, TypeReference<T> typeReference, JSONReader.Feature... features)Returns the result of theTypeconverter conversion of the associated value in thisJSONObject.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> TJSONB. parseObject(byte[] jsonbBytes, TypeReference typeReference, JSONReader.Feature... features)static <T> TJSONObject. parseObject(String text, TypeReference<T> typeReference, JSONReader.Feature... features)SeeJSON.parseObject(java.lang.String)for details<T> TJSONObject. to(TypeReference<T> typeReference, JSONReader.Feature... features)Convert thisJSONObjectto the specified Object<T> TJSONObject. toJavaObject(TypeReference<T> typeReference, JSONReader.Feature... features)Deprecated.since 2.0.4, please useJSONObject.to(Type, JSONReader.Feature...) -
Uses of TypeReference in com.alibaba.fastjson2.util
Methods in com.alibaba.fastjson2.util with parameters of type TypeReference Modifier and Type Method Description static TypeBeanUtils. getFieldType(TypeReference typeReference, Class<?> raw, Member field, Type fieldType)static TypeBeanUtils. getParamType(TypeReference type, Class<?> raw, Class declaringClass, Parameter field, Type fieldType)
-