Table of Contents

Enum MemberSerialization

Namespace
Newtonsoft.Json
Assembly
Newtonsoft.Json.dll

Specifies the member serialization options for the JsonSerializer.

public enum MemberSerialization

Fields

OptIn = 1

Only members must be marked with the JsonPropertyAttribute are serialized.

OptOut = 0

All members are serialized by default. Members can be excluded using the JsonIgnoreAttribute.