| JSchemaWriterReferenceHandling Enumeration |
Specifies reference handling options when writing schemas.
Namespace:
Newtonsoft.Json.Schema
Assembly:
Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax public enum JSchemaWriterReferenceHandling
Members
| Member name | Value | Description |
---|
| Always | 0 |
Always write references to previously encountered schemas.
|
| Never | 1 |
Never write references to previously encountered schemas. Writing a schema with a recursive relationship will error.
|
| Auto | 2 |
Never write references to previously encountered schemas unless there is a recursive relationship,
in which case a reference will be written.
|
See Also