PreserveReferencesHandling Enumeration

Json.NET

Json.NET - Quick Starts & API Documentation PreserveReferencesHandling Enumeration
NamespacesNewtonsoft.JsonPreserveReferencesHandling
Specifies reference handling options for the JsonSerializer.
Declaration Syntax
C# Visual Basic Visual C++
[FlagsAttribute]
public enum PreserveReferencesHandling
<FlagsAttribute> _
Public Enumeration PreserveReferencesHandling
[FlagsAttribute]
public enum class PreserveReferencesHandling
Members
Member Description
None Do not preserve references when serializing types.
Objects Preserve references when serializing into a JSON object structure.
Arrays Preserve references when serializing into a JSON array structure.
All Preserve references when serializing.

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