Json.NET - Quick Starts & API Documentation
PreserveReferencesHandling Enumeration
Namespaces ► Newtonsoft.Json ► PreserveReferencesHandling
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.
|