C# Class Restcoration.JsonSerializer

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: Grinderofl/Restcoration

Méthodes publiques

Méthode Description
JsonSerializer ( ) : System

Default serializer

JsonSerializer ( Newtonsoft serializer ) : System

Default serializer with overload for allowing custom Json.NET settings

Serialize ( object obj ) : string

Serialize the object as JSON

Method Details

JsonSerializer() public méthode

Default serializer
public JsonSerializer ( ) : System
Résultat System

JsonSerializer() public méthode

Default serializer with overload for allowing custom Json.NET settings
public JsonSerializer ( Newtonsoft serializer ) : System
serializer Newtonsoft
Résultat System

Serialize() public méthode

Serialize the object as JSON
public Serialize ( object obj ) : string
obj object Object to serialize
Résultat string