Interface: Base2art.Serialization.IJsonSerializer

A contract that defines how serialization works.

Methods

Deserialize<T>(System.String)

Deserialze a string to an object.

Parameter Type Info
text System.String The text to deserialize.

Returns: T
=> The deserialized object.


MapName(System.String)

A method to map property names to output names/

Parameter Type Info
name System.String The name to map.

Returns: System.String
=> The value.


Serialize<T>(T)

Serialize an object to a string.

Parameter Type Info
item T The item to serialize.

Returns: System.String
=> The serialized value.