Specifies reference loop handling options for the JsonSerializer.

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 6.0.0.0 (6.0.3.17227)

Syntax

C#
public enum ReferenceLoopHandling

Members

Member nameValueDescription
Error0 Throw a JsonSerializationException when a loop is encountered.
Ignore1 Ignore loop references and do not serialize.
Serialize2 Serialize loop references.

See Also