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<?> typeReference, JSONReader.Feature... features) Returns the result of theTypeconverter conversion of the associated value in thisJSONObject.static <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> TJSONB.parseObject(byte[] jsonbBytes, TypeReference typeReference, JSONReader.Feature... features) static <T> TJSONObject.parseObject(String text, TypeReference<?> typeReference, JSONReader.Feature... features) SeeJSON.parseObject(java.lang.String)for details<T> TJSONObject.to(TypeReference<?> typeReference, JSONReader.Feature... features) Convert thisJSONObjectto the specified Object<T> TJSONObject.toJavaObject(TypeReference<?> 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 type, Class<?> raw, Member field, Type fieldType)
JSONObject.to(Type, JSONReader.Feature...)