MemberSerialization Enumeration

Json.NET

Json.NET - Quick Starts & API Documentation MemberSerialization Enumeration
NamespacesNewtonsoft.JsonMemberSerialization
Specifies the member serialization options for the JsonSerializer.
Declaration Syntax
C# Visual Basic Visual C++
public enum MemberSerialization
Public Enumeration MemberSerialization
public enum class MemberSerialization
Members
Member Description
OptOut All members are serialized by default. Members can be excluded using the JsonIgnoreAttribute.
OptIn Only members must be marked with the JsonPropertyAttribute are serialized.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)