Constructors
-
Json
Validating Initializes a new instance of the JsonValidatingReader 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 underlying JsonReader.
-
Read
As virtual Reads the next JSON token from the underlying JsonReader as a Nullable`1 of Boolean.Boolean() -
Read
As virtual Reads the next JSON token from the underlying JsonReader as a Byte[].Bytes() -
Read
As virtual Reads the next JSON token from the underlying JsonReader as a Nullable`1 of DateTime.Date Time() -
Read
As virtual Reads the next JSON token from the underlying JsonReader as a Nullable`1 of DateTimeOffset.Date Time Offset() -
Read
As virtual Reads the next JSON token from the underlying JsonReader as a Nullable`1 of Decimal.Decimal() -
Read
As virtual Reads the next JSON token from the underlying JsonReader as a Nullable`1 of Double.Double() -
Read
As virtual Reads the next JSON token from the underlying JsonReader as a Nullable`1 of Int32.Int32() -
Read
As virtual Reads the next JSON token from the underlying JsonReader as a String.String()
Properties
-
Current
Member privateSchemas -
Current
Schemas private - 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 JsonValidatingReader.
- Schema Gets or sets the schema.
-
Token
Type virtual Gets the type of the current JSON token. - Value virtual Gets the text value of the current JSON token.
-
Value
Type virtual Gets the .NET type for the current JSON token.
Events
-
Validation
Event Sets an event handler for receiving schema validation errors.Handler