Json.NET - Quick Starts & API Documentation
ReferenceLoopHandling Enumeration
Namespaces ► Newtonsoft.Json ► ReferenceLoopHandling
Specifies reference loop handling options for the JsonSerializer.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum ReferenceLoopHandling
Public Enumeration ReferenceLoopHandling
public enum class ReferenceLoopHandling
Members
Member | Description |
---|---|
Error |
Throw a JsonSerializationException when a loop is encountered.
|
Ignore |
Ignore loop references and do not serialize.
|
Serialize |
Serialize loop references.
|