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 System.​Text.​Json.​Serialization.​JsonKnownReferenceHandler

Assembly: System.Text.Json

The <see cref="T:System.Text.Json.Serialization.ReferenceHandler" /> to be used at run time.

Values

Unspecified
Specifies that circular references should throw exceptions.
Preserve
Specifies that the built-in <see cref="P:System.Text.Json.Serialization.ReferenceHandler.Preserve" /> be used to handle references.
IgnoreCycles
Specifies that the built-in <see cref="P:System.Text.Json.Serialization.ReferenceHandler.IgnoreCycles" /> be used to ignore cyclic references.