Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​Text.​Json.​JsonSerializerDefaults

Assembly: System.Text.Json

Specifies scenario-based default serialization options that can be used to construct a <see cref="T:System.Text.Json.JsonSerializerOptions" /> instance.

Values

General
<para>General-purpose option values. These are the same settings that are applied if a <see cref="T:System.Text.Json.JsonSerializerDefaults" /> member isn't specified.</para> <para>For information about the default property values that are applied, see JsonSerializerOptions properties.</para>
Web
<para>Option values appropriate to Web-based scenarios.</para> <para>This member implies that:</para> <para>- Property names are treated as case-insensitive.</para> <para>- "camelCase" name formatting should be employed.</para> <para>- Quoted numbers (JSON strings for number properties) are allowed.</para>
Strict
Specifies that stricter policies should be applied when deserializing from JSON.