public class JsonFieldUtils extends Object
| 构造器和说明 |
|---|
JsonFieldUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.postgresql.util.PGobject |
json(Object obj) |
static org.postgresql.util.PGobject |
json(String json) |
static org.postgresql.util.PGobject |
jsonb(Object obj) |
static org.postgresql.util.PGobject |
jsonb(String json) |
static <T> void |
toBean(com.jfinal.kit.Kv kv,
String key,
Class<T> clazz) |
static <T> T |
toBean(org.postgresql.util.PGobject pgObject,
Class<T> clazz) |
static <T> void |
toBean(Row row,
String key,
Class<T> clazz) |
static <T> List<T> |
toListBean(org.postgresql.util.PGobject pgObject,
Class<T> clazz) |
static <T> void |
toListBean(Row row,
String key,
Class<T> clazz) |
public static org.postgresql.util.PGobject json(Object obj)
public static org.postgresql.util.PGobject json(String json)
public static org.postgresql.util.PGobject jsonb(Object obj)
public static org.postgresql.util.PGobject jsonb(String json)
public static <T> T toBean(org.postgresql.util.PGobject pgObject,
Class<T> clazz)
Copyright © 2024. All rights reserved.