Uses of Class
com.alibaba.fastjson.TypeReference
-
Packages that use TypeReference Package Description com.alibaba.fastjson -
-
Uses of TypeReference in com.alibaba.fastjson
Methods in com.alibaba.fastjson with parameters of type TypeReference Modifier and Type Method Description <T> TJSONObject. getObject(String key, TypeReference typeReference)static <T> TJSON. parseObject(String text, TypeReference<T> type, Feature... features)String jsonStr = "[{\"id\":1001,\"name\":\"Jobs\"}]"; List<Model> models = JSON.parseObject(jsonStr, new TypeReference<List<Model>>() {});<T> TJSONReader. readObject(TypeReference<T> typeRef)<T> TJSON. toJavaObject(TypeReference typeReference)
-