Interface ITypeJsonSerializer<TValue>
Generic interface for JSON serializer of a given value type.
Namespace: Kephas.Serialization.ServiceStack.Text
Assembly: Kephas.Serialization.ServiceStack.Text.dll
Syntax
[SingletonAppServiceContract(ContractType = typeof(ITypeJsonSerializer))]
public interface ITypeJsonSerializer<TValue> : ITypeJsonSerializerType Parameters
| Name | Description | 
|---|---|
| TValue | Type of the value. | 
Methods
| Improve this Doc View SourceRawDeserialize(String)
Raw implementation of value deserialization.
Declaration
TValue RawDeserialize(string serializedValue)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | serializedValue | The serialized value. | 
Returns
| Type | Description | 
|---|---|
| TValue | A TValue. | 
RawSerialize(TValue)
Raw implementation of value serialization.
Declaration
string RawSerialize(TValue value)Parameters
| Type | Name | Description | 
|---|---|---|
| TValue | value | The value. | 
Returns
| Type | Description | 
|---|---|
| System.String | A string. |