com.taobao.metamorphosis.utils
类 JSONUtils
java.lang.Object
com.taobao.metamorphosis.utils.JSONUtils
public class JSONUtils
- extends Object
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONUtils
public JSONUtils()
serializeObject
public static String serializeObject(Object o)
throws Exception
- 抛出:
Exception
deserializeObject
public static Object deserializeObject(String s,
Class<?> clazz)
throws Exception
- 抛出:
Exception
deserializeObject
public static Object deserializeObject(String s,
org.codehaus.jackson.type.TypeReference<?> typeReference)
throws Exception
- 抛出:
Exception
Copyright © 2010–2013. All rights reserved.