Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum Newtonsoft.​Json.​PreserveReferencesHandling

Assembly: Newtonsoft.Json

Specifies reference handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer" /> . Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement <see cref="T:System.Runtime.Serialization.ISerializable" /> .

Values

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.