public class Refs extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
json(Object o)
转为 ref json
|
static Object |
unref(String json)
ref json 转为 object
|
static <T> T |
unref(String json,
Class<T> type)
ref json 转为 type
|
static <T> T |
unref(String json,
com.alibaba.fastjson.TypeReference<Ref<T>> type)
ref json 转为 type
|
static String |
unrefToString(String json)
ref json 转为 string
|
public static Object unref(String json)
json - jsonpublic static <T> T unref(String json, Class<T> type)
T - Tjson - jsontype - typepublic static <T> T unref(String json, com.alibaba.fastjson.TypeReference<Ref<T>> type)
T - Tjson - jsontype - typeCopyright © 2025. All rights reserved.