Interface IJsonSerializer
public interface IJsonSerializer
Represents a serializer/deserializer for custom type in from/to json.
-
Method Summary
Deserialize json string to object.
Serialize an Object to json string
-
Method Details
-
serialize
Serialize an Object to json string
- Parameters:
value
- The Object to serialize.
- Returns:
- The JSON string representation of the Object.
-
deserialize
Deserialize json string to object.
- Parameters:
json
- The JSON string to deserialize.
- Returns:
- The deserialized Object.