hdac SDK
SDK for hdac blockchain development
|
Represents a reader that provides JsonSchema validation. 더 자세히 ...
Public 멤버 함수 | |
JsonValidatingReader (JsonReader reader) | |
Initializes a new instance of the JsonValidatingReader class that validates the content returned from the given JsonReader. 더 자세히 ... | |
override byte[] | ReadAsBytes () |
Reads the next JSON token from the stream as a T:Byte[]. 더 자세히 ... | |
override decimal | ReadAsDecimal () |
Reads the next JSON token from the stream as a Nullable<Decimal>. 더 자세히 ... | |
override DateTimeOffset | ReadAsDateTimeOffset () |
Reads the next JSON token from the stream as a Nullable<DateTimeOffset>. 더 자세히 ... | |
override bool | Read () |
Reads the next JSON token from the stream. 더 자세히 ... | |
![]() | |
void | Skip () |
Skips the children of the current token. 더 자세히 ... | |
virtual void | Close () |
Changes the State to Closed. 더 자세히 ... | |
속성 | |
override object | Value [get] |
Gets the text value of the current Json token. 더 자세히 ... | |
override int | Depth [get] |
Gets the depth of the current token in the JSON document. 더 자세히 ... | |
override char | QuoteChar [get, set] |
Gets the quotation mark character used to enclose the value of a string. 더 자세히 ... | |
override JsonToken | TokenType [get] |
Gets the type of the current Json token. 더 자세히 ... | |
override Type | ValueType [get] |
Gets The Common Language Runtime (CLR) type for the current Json token. 더 자세히 ... | |
JsonSchema | Schema [get, set] |
Gets or sets the schema. 더 자세히 ... | |
JsonReader | Reader [get] |
Gets the JsonReader used to construct this JsonValidatingReader. 더 자세히 ... | |
![]() | |
State | CurrentState [get] |
Gets the current reader state. 더 자세히 ... | |
bool | CloseInput [get, set] |
Gets or sets a value indicating whether the underlying stream or TextReader should be closed when the reader is closed. 더 자세히 ... | |
virtual char | QuoteChar [get, set] |
Gets the quotation mark character used to enclose the value of a string. 더 자세히 ... | |
virtual JsonToken | TokenType [get] |
Gets the type of the current Json token. 더 자세히 ... | |
virtual object | Value [get] |
Gets the text value of the current Json token. 더 자세히 ... | |
virtual Type | ValueType [get] |
Gets The Common Language Runtime (CLR) type for the current Json token. 더 자세히 ... | |
virtual int | Depth [get] |
Gets the depth of the current token in the JSON document. 더 자세히 ... | |
![]() | |
int | LineNumber [get] |
Gets the current line number. 더 자세히 ... | |
int | LinePosition [get] |
Gets the current line position. 더 자세히 ... | |
이벤트 | |
ValidationEventHandler | ValidationEventHandler |
Sets an event handler for receiving schema validation errors. 더 자세히 ... | |
추가로 상속된 멤버들 | |
![]() | |
enum | State { State.Start, State.Complete, State.Property, State.ObjectStart, State.Object, State.ArrayStart, State.Array, State.Closed, State.PostValue, State.ConstructorStart, State.Constructor, State.Error, State.Finished } |
Specifies the state of the reader. 더 자세히 ... | |
![]() | |
JsonReader () | |
Initializes a new instance of the JsonReader class with the specified TextReader. 더 자세히 ... | |
void | SetToken (JsonToken newToken) |
Sets the current token. 더 자세히 ... | |
virtual void | SetToken (JsonToken newToken, object value) |
Sets the current token and value. 더 자세히 ... | |
void | SetStateBasedOnCurrent () |
Sets the state based on current token type. 더 자세히 ... | |
virtual void | Dispose (bool disposing) |
Releases unmanaged and - optionally - managed resources 더 자세히 ... | |
Represents a reader that provides JsonSchema validation.
|
inline |
Initializes a new instance of the JsonValidatingReader class that validates the content returned from the given JsonReader.
reader | The JsonReader to read from while validating. |
|
inlinevirtual |
Reads the next JSON token from the stream.
|
inlinevirtual |
Reads the next JSON token from the stream as a T:Byte[].
|
inlinevirtual |
Reads the next JSON token from the stream as a Nullable<DateTimeOffset>.
|
inlinevirtual |
Reads the next JSON token from the stream as a Nullable<Decimal>.
|
get |
Gets the depth of the current token in the JSON document.
The depth of the current token in the JSON document.
|
getset |
Gets the quotation mark character used to enclose the value of a string.
|
get |
Gets the JsonReader used to construct this JsonValidatingReader.
The JsonReader specified in the constructor.
|
getset |
Gets or sets the schema.
The schema.
|
get |
Gets the type of the current Json token.
|
get |
Gets the text value of the current Json token.
|
get |
Gets The Common Language Runtime (CLR) type for the current Json token.
ValidationEventHandler Newtonsoft.Json.JsonValidatingReader.ValidationEventHandler |
Sets an event handler for receiving schema validation errors.