C# Class Catel.JsonExtensions

Json extensions.
ファイルを表示 Open project: Catel/Catel

Public Methods

Method Description
CreateReader ( this token, ISerializationConfiguration configuration ) : JsonReader

Creates a json reader with the right configuration.

ToJson ( this model, ISerializationConfiguration configuration ) : string

Converters the specified model to a json string.

Private Methods

Method Description
ToJson ( this model ) : string

Method Details

CreateReader() public static method

Creates a json reader with the right configuration.
public static CreateReader ( this token, ISerializationConfiguration configuration ) : JsonReader
token this The token.
configuration ISerializationConfiguration The configuration.
return Newtonsoft.Json.JsonReader

ToJson() public static method

Converters the specified model to a json string.
public static ToJson ( this model, ISerializationConfiguration configuration ) : string
model this The model.
configuration ISerializationConfiguration The configuration.
return string