Represents a reader that provides JsonSchema validation.
| C# | Visual Basic | Visual C++ |
public class JsonValidatingReader : JsonReader, IJsonLineInfo
Public Class JsonValidatingReader _ Inherits JsonReader _ Implements IJsonLineInfo
public ref class JsonValidatingReader : public JsonReader, IJsonLineInfo
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| JsonValidatingReader(JsonReader) |
Initializes a new instance of the JsonValidatingReader class that
validates the content returned from the given JsonReader.
| |
| Close()()()() |
Changes the JsonReader..::..State to Closed.
(Inherited from JsonReader.) | |
| CloseInput |
Gets or sets a value indicating whether the underlying stream or
TextReader should be closed when the reader is closed.
(Inherited from JsonReader.) | |
| CurrentState |
Gets the current reader state.
(Inherited from JsonReader.) | |
| Depth |
Gets the depth of the current token in the JSON document.
(Overrides JsonReader.Depth.) | |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Inherited from JsonReader.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| QuoteChar |
Gets the quotation mark character used to enclose the value of a string.
(Overrides JsonReader.QuoteChar.) | |
| Read()()()() |
Reads the next JSON token from the stream.
(Overrides JsonReader.Read()()()().) | |
| ReadAsBytes()()()() |
Reads the next JSON token from the stream as a array<Byte>[]()[][].
(Overrides JsonReader.ReadAsBytes()()()().) | |
| ReadAsDateTimeOffset()()()() |
Reads the next JSON token from the stream as a Nullable<(Of <(<'T>)>)>.
(Overrides JsonReader.ReadAsDateTimeOffset()()()().) | |
| ReadAsDecimal()()()() |
Reads the next JSON token from the stream as a Nullable<(Of <(<'T>)>)>.
(Overrides JsonReader.ReadAsDecimal()()()().) | |
| Reader |
Gets the JsonReader used to construct this JsonValidatingReader.
| |
| Schema |
Gets or sets the schema.
| |
| SetStateBasedOnCurrent()()()() |
Sets the state based on current token type.
(Inherited from JsonReader.) | |
| SetToken(JsonToken) |
Sets the current token.
(Inherited from JsonReader.) | |
| SetToken(JsonToken, Object) |
Sets the current token and value.
(Inherited from JsonReader.) | |
| Skip()()()() |
Skips the children of the current token.
(Inherited from JsonReader.) | |
| TokenType |
Gets the type of the current Json token.
(Overrides JsonReader.TokenType.) | |
| ToString()()()() | (Inherited from Object.) | |
| ValidationEventHandler |
Sets an event handler for receiving schema validation errors.
| |
| Value |
Gets the text value of the current Json token.
(Overrides JsonReader.Value.) | |
| ValueType |
Gets The Common Language Runtime (CLR) type for the current Json token.
(Overrides JsonReader.ValueType.) |
| Object | ||
| JsonReader | ||
| JsonValidatingReader | ||