程序包 cn.myafx.cache

接口 IJsonMapper


public interface IJsonMapper
  • 方法详细资料

    • serialize

      <T> String serialize(T m) throws Exception
      to json
      类型参数:
      T -
      参数:
      m -
      返回:
      抛出:
      Exception
    • deserialize

      <T> T deserialize(String json, Class<T> clazz) throws Exception
      类型参数:
      T -
      参数:
      json -
      clazz -
      返回:
      抛出:
      Exception