C# Class JsonNetSerializer, code

Default JSON serializer for request bodies Doesn't currently use the SerializeAs attribute, defers to Newtonsoft's attributes
Inheritance: ISerializer
Exibir arquivo Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
JsonNetSerializer ( )
SerializeObject ( object value, StringBuilder, builder ) : bool

Serialization of an object into JSON format.

Method Details

JsonNetSerializer() public method

public JsonNetSerializer ( )

SerializeObject() public method

Serialization of an object into JSON format.
public SerializeObject ( object value, StringBuilder, builder ) : bool
value object The object to serialize to JSON.
builder StringBuilder, Output destination.
return bool