Class: Base2art.Serialization.ConfigurableSimpleJsonSerializer

A simple serializer that allows the user to configure how the output is serialised.

Inherits

└── System.Object

Implements

Base2art.Serialization.IJsonSerializer

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.

Inherited Methods

  • ToString

  • Equals(System.Object)

  • Equals(System.Object, System.Object)

  • ReferenceEquals(System.Object, System.Object)

  • GetHashCode

  • GetType