public class JsonUtil extends Object
| Constructor and Description |
|---|
JsonUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.jackson.map.ObjectReader |
createReader(Type type) |
static org.codehaus.jackson.map.ObjectWriter |
createWriter(Type type) |
static Class<?> |
getJsonSubTypesSuperClass(Type type,
Class<?> clazz) |
static boolean |
hasJsonSubTypes(Class<?> clazz) |
static boolean |
hasJsonSubTypes(Type type,
Class<?> clazz,
Set<Class<?>> searched) |
public static org.codehaus.jackson.map.ObjectReader createReader(Type type)
type - the class type.public static org.codehaus.jackson.map.ObjectWriter createWriter(Type type)
type - the class type.public static boolean hasJsonSubTypes(Class<?> clazz)
public static boolean hasJsonSubTypes(Type type, Class<?> clazz, Set<Class<?>> searched)
Copyright © 2016. All rights reserved.