接口 IJsonSerializer


public interface IJsonSerializer
Represents a serializer/deserializer for custom type in from/to json.
  • 方法详细资料

    • serialize

      String serialize(Object value)
      Serialize an Object to json string
      参数:
      value -
      返回:
    • deserialize

      Object deserialize(String json)
      Deserialize json string to object.
      参数:
      json -
      返回: