JSchemaValidatingReader Class |
Namespace: Newtonsoft.Json.Schema
public class JSchemaValidatingReader : JsonReader, IJsonLineInfo
The JSchemaValidatingReader type exposes the following members.
| Name | Description | |
|---|---|---|
| JSchemaValidatingReader |
Initializes a new instance of the JSchemaValidatingReader class that
validates the content returned from the given JsonReader.
|
| Name | Description | |
|---|---|---|
| Depth |
Gets the depth of the current token in the JSON document.
| |
| Path |
Gets the path of the current JSON token.
| |
| QuoteChar |
Gets the quotation mark character used to enclose the value of a string.
| |
| Reader |
Gets the JsonReader used to construct this JSchemaValidatingReader.
| |
| RegexMatchTimeout |
Gets or sets a timeout that will be used when executing regular expressions.
| |
| Schema |
Gets or sets the schema.
| |
| TokenType |
Gets the type of the current JSON token.
| |
| Value |
Gets the text value of the current JSON token.
| |
| ValueType |
Gets the Common Language Runtime (CLR) type for the current JSON token.
|
| Name | Description | |
|---|---|---|
| Close |
Changes the reader's state to Closed.
If CloseInput is set to true, the underlying JsonReader is also closed.
| |
| Read |
Reads the next JSON token from the stream.
| |
| ReadAsBoolean |
Reads the next JSON token from the stream as a NullableT.
| |
| ReadAsBytes |
Reads the next JSON token from the stream as a Byte[].
| |
| ReadAsDateTime |
Reads the next JSON token from the stream as a NullableT.
| |
| ReadAsDateTimeOffset |
Reads the next JSON token from the stream as a NullableT.
| |
| ReadAsDecimal |
Reads the next JSON token from the stream as a NullableT.
| |
| ReadAsDouble |
Reads the next JSON token from the stream as a NullableT.
| |
| ReadAsInt32 |
Reads the next JSON token from the stream as a NullableT.
| |
| ReadAsString |
Reads the next JSON token from the stream as a String.
|
| Name | Description | |
|---|---|---|
| ValidationEventHandler |
Sets an event handler for receiving schema validation errors.
|