Constructors
-
JSchema
Validating Initializes a new instance of the JSchemaValidatingReader class that validates the content returned from the given JsonReader.Reader(Json Reader)
Methods
- Close() virtual Changes the reader's state to Closed. If CloseInput is set to true, the underlying JsonReader is also closed.
- Read() virtual Reads the next JSON token from the stream.
-
Read
As virtual Reads the next JSON token from the stream as a Nullable`1.Boolean() -
Read
As virtual Reads the next JSON token from the stream as a Byte[].Bytes() -
Read
As virtual Reads the next JSON token from the stream as a Nullable`1.Date Time() -
Read
As virtual Reads the next JSON token from the stream as a Nullable`1.Date Time Offset() -
Read
As virtual Reads the next JSON token from the stream as a Nullable`1.Decimal() -
Read
As virtual Reads the next JSON token from the stream as a Nullable`1.Double() -
Read
As virtual Reads the next JSON token from the stream as a Nullable`1.Int32() -
Read
As virtual Reads the next JSON token from the stream as a String.String()
Properties
- Depth virtual Gets the depth of the current token in the JSON document.
-
Newtonsoft.
Json. privatesealedIJson Line Info. Line Number -
Newtonsoft.
Json. privatesealedIJson Line Info. Line Position - Path virtual Gets the path of the current JSON token.
-
Quote
Char virtual Gets the quotation mark character used to enclose the value of a string. - Reader Gets the JsonReader used to construct this JSchemaValidatingReader.
-
Regex
Match Gets or sets a timeout that will be used when executing regular expressions.Timeout - Schema Gets or sets the schema.
-
Token
Type virtual Gets the type of the current JSON token. - Validator
- Value virtual Gets the text value of the current JSON token.
-
Value
Type virtual Gets the Common Language Runtime (CLR) type for the current JSON token.
Events
-
Validation
Event Sets an event handler for receiving schema validation errors.Handler