JsonSettings class
namespace: Serenity assembly: Serenity.Net.Core
Contains the default Serenity JSON serialization settings for Newtonsoft.Json.
public static class JsonSettings
Public Members
| name | description |
|---|---|
| static Strict | The stricter settings, which raise an error on missing members and reference loops, and ignore nulls. |
| static StrictIncludeNulls | The stricter settings, which raise an error on missing members and reference loops, and include nulls. |
| static Tolerant | The tolerant settings, which ignore missing members and reference loops on deserialization, and ignore nulls. |
| static TolerantIncludeNulls | The tolerant settings, which ignore missing members and reference loops on deserialization, and include nulls. |
| static CreateDefaults() | Creates a JsonSerializerSettings object with the common Serenity values and converters. |
See Also
- Source: JsonSettings.cs