public class JsonUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static com.fasterxml.jackson.core.JsonFactory |
getFactory() |
static JsonUtil |
getInstance() |
static com.fasterxml.jackson.databind.ObjectMapper |
getMapper() |
Object |
json2obj(String json,
Class<?> clz) |
String |
obj2json(Object obj) |
public static JsonUtil getInstance()
public static com.fasterxml.jackson.databind.ObjectMapper getMapper()
public static com.fasterxml.jackson.core.JsonFactory getFactory()
Copyright © 2015. All rights reserved.