C# Class Newtonsoft.Dson.DsonConvert

DSON (Doge Serialized Object Notation): a data-interchange format that is easy for Shiba Inu dogs to read and write.
Afficher le fichier Open project: JamesNK/Newtonsoft.Dson

Méthodes publiques

Méthode Description
SerializeObject ( object value ) : string

Serializes the specified object to a DSON string.

SerializeObject ( object value, Formatting formatting ) : string

Serializes the specified object to a DSON string using formatting.

SerializeObject ( object value, Formatting formatting, JsonSerializerSettings settings ) : string

Serializes the specified object to a DSON string using formatting and JsonSerializerSettings.

SerializeObject ( object value, JsonSerializerSettings settings ) : string

Serializes the specified object to a DSON string using JsonSerializerSettings.

SerializeObject ( object value, Type type, Formatting formatting, JsonSerializerSettings settings ) : string

Serializes the specified object to a DSON string using a type, formatting and JsonSerializerSettings.

SerializeObject ( object value, Type type, JsonSerializerSettings settings ) : string

Serializes the specified object to a DSON string using a type, formatting and JsonSerializerSettings.

Private Methods

Méthode Description
SerializeObjectInternal ( object value, Type type, JsonSerializer jsonSerializer ) : string

Method Details

SerializeObject() public static méthode

Serializes the specified object to a DSON string.
public static SerializeObject ( object value ) : string
value object The object to serialize.
Résultat string

SerializeObject() public static méthode

Serializes the specified object to a DSON string using formatting.
public static SerializeObject ( object value, Formatting formatting ) : string
value object The object to serialize.
formatting Formatting Indicates how the output is formatted.
Résultat string

SerializeObject() public static méthode

Serializes the specified object to a DSON string using formatting and JsonSerializerSettings.
public static SerializeObject ( object value, Formatting formatting, JsonSerializerSettings settings ) : string
value object The object to serialize.
formatting Formatting Indicates how the output is formatted.
settings Newtonsoft.Json.JsonSerializerSettings The used to serialize the object. /// If this is null, default serialization settings will be used.
Résultat string

SerializeObject() public static méthode

Serializes the specified object to a DSON string using JsonSerializerSettings.
public static SerializeObject ( object value, JsonSerializerSettings settings ) : string
value object The object to serialize.
settings Newtonsoft.Json.JsonSerializerSettings The used to serialize the object. /// If this is null, default serialization settings will be used.
Résultat string

SerializeObject() public static méthode

Serializes the specified object to a DSON string using a type, formatting and JsonSerializerSettings.
public static SerializeObject ( object value, Type type, Formatting formatting, JsonSerializerSettings settings ) : string
value object The object to serialize.
type System.Type /// The type of the value being serialized. /// This parameter is used when is Auto to write out the type name if the type of the value does not match. /// Specifing the type is optional. ///
formatting Formatting Indicates how the output is formatted.
settings Newtonsoft.Json.JsonSerializerSettings The used to serialize the object. /// If this is null, default serialization settings will be used.
Résultat string

SerializeObject() public static méthode

Serializes the specified object to a DSON string using a type, formatting and JsonSerializerSettings.
public static SerializeObject ( object value, Type type, JsonSerializerSettings settings ) : string
value object The object to serialize.
type System.Type /// The type of the value being serialized. /// This parameter is used when is Auto to write out the type name if the type of the value does not match. /// Specifing the type is optional. ///
settings Newtonsoft.Json.JsonSerializerSettings The used to serialize the object. /// If this is null, default serialization settings will be used.
Résultat string