Uses of Class
com.alibaba.fastjson2.TypeReference
Packages that use TypeReference
-
Uses of TypeReference in com.alibaba.fastjson2
Methods in com.alibaba.fastjson2 that return TypeReferenceMethods in com.alibaba.fastjson2 with parameters of type TypeReferenceModifier and TypeMethodDescription<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. -
Uses of TypeReference in com.alibaba.fastjson2.util
Methods in com.alibaba.fastjson2.util with parameters of type TypeReferenceModifier and TypeMethodDescriptionstatic TypeBeanUtils.getFieldType(TypeReference typeReference, Class<?> raw, Member field, Type fieldType) static TypeBeanUtils.getParamType(TypeReference type, Class<?> raw, Class declaringClass, Parameter field, Type fieldType)
JSONObject.to(Type, JSONReader.Feature...)