C# Class JsonNetSerializer, code

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

Méthodes publiques

Méthode Description
JsonNetSerializer ( )
SerializeObject ( object value, StringBuilder, builder ) : bool

Serialization of an object into JSON format.

Method Details

JsonNetSerializer() public méthode

public JsonNetSerializer ( )

SerializeObject() public méthode

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.
Résultat bool