JsonExtensions

Name Value
Assembly Catel.Core
Namespace Catel
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public static class JsonExtensions

Json extensions.

Fields

Methods

CreateReader(JToken token, ISerializationConfiguration configuration)

Creates a json reader with the right configuration.

Parameters

Name Description
token The token.
configuration The configuration.

Returns

The json reader.

ToJson(ModelBase model, ISerializationConfiguration configuration)

Converters the specified model to a json string.

Parameters

Name Description
model The model.
configuration The configuration.

Returns

System.String.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion