hdac SDK
SDK for hdac blockchain development
Public 멤버 함수 | Protected 타입 | Protected 멤버 함수 | 속성 | 모든 멤버 목록
Newtonsoft.Json.JsonReader 클래스 참조abstract

Represents a reader that provides fast, non-cached, forward-only access to serialized Json data. 더 자세히 ...

Newtonsoft.Json.JsonReader에 대한 상속 다이어그램 :
Newtonsoft.Json.Bson.BsonReader Newtonsoft.Json.JsonTextReader Newtonsoft.Json.JsonValidatingReader Newtonsoft.Json.Linq.JTokenReader

Public 멤버 함수

abstract bool Read ()
 Reads the next JSON token from the stream. 더 자세히 ...
 
abstract byte[] ReadAsBytes ()
 Reads the next JSON token from the stream as a T:Byte[]. 더 자세히 ...
 
abstract decimal ReadAsDecimal ()
 Reads the next JSON token from the stream as a Nullable<Decimal>. 더 자세히 ...
 
abstract DateTimeOffset ReadAsDateTimeOffset ()
 Reads the next JSON token from the stream as a Nullable<DateTimeOffset>. 더 자세히 ...
 
void Skip ()
 Skips the children of the current token. 더 자세히 ...
 
virtual void Close ()
 Changes the State to Closed. 더 자세히 ...
 

Protected 타입

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. 더 자세히 ...
 

Protected 멤버 함수

 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 더 자세히 ...
 

속성

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. 더 자세히 ...
 

상세한 설명

Represents a reader that provides fast, non-cached, forward-only access to serialized Json data.

멤버 열거형 문서화

enum Newtonsoft.Json.JsonReader.State
strongprotected

Specifies the state of the reader.

열거형 멤버
Start 

The Read method has not been called.

Complete 

The end of the file has been reached successfully.

Property 

Reader is at a property.

ObjectStart 

Reader is at the start of an object.

Object 

Reader is in an object.

ArrayStart 

Reader is at the start of an array.

Array 

Reader is in an array.

Closed 

The Close method has been called.

PostValue 

Reader has just read a value.

ConstructorStart 

Reader is at the start of a constructor.

Constructor 

Reader in a constructor.

Error 

An error occurred that prevents the read operation from continuing.

Finished 

The end of the file has been reached successfully.

생성자 & 소멸자 문서화

Newtonsoft.Json.JsonReader.JsonReader ( )
inlineprotected

Initializes a new instance of the JsonReader class with the specified TextReader.

멤버 함수 문서화

virtual void Newtonsoft.Json.JsonReader.Close ( )
inlinevirtual

Changes the State to Closed.

Newtonsoft.Json.JsonTextReader, Newtonsoft.Json.Bson.BsonReader에서 재구현되었습니다.

virtual void Newtonsoft.Json.JsonReader.Dispose ( bool  disposing)
inlineprotectedvirtual

Releases unmanaged and - optionally - managed resources

매개변수
disposingtrue to release both managed and unmanaged resources; false to release only unmanaged resources.
abstract bool Newtonsoft.Json.JsonReader.Read ( )
pure virtual

Reads the next JSON token from the stream.

반환값
true if the next token was read successfully; false if there are no more tokens to read.

Newtonsoft.Json.JsonValidatingReader, Newtonsoft.Json.JsonTextReader, Newtonsoft.Json.Bson.BsonReader, Newtonsoft.Json.Linq.JTokenReader에서 구현되었습니다.

abstract byte [] Newtonsoft.Json.JsonReader.ReadAsBytes ( )
pure virtual

Reads the next JSON token from the stream as a T:Byte[].

반환값
A T:Byte[] or a null reference if the next JSON token is null.

Newtonsoft.Json.JsonValidatingReader, Newtonsoft.Json.JsonTextReader, Newtonsoft.Json.Bson.BsonReader, Newtonsoft.Json.Linq.JTokenReader에서 구현되었습니다.

abstract DateTimeOffset Newtonsoft.Json.JsonReader.ReadAsDateTimeOffset ( )
pure virtual

Reads the next JSON token from the stream as a Nullable<DateTimeOffset>.

반환값
A Nullable<DateTimeOffset>.

Newtonsoft.Json.JsonTextReader, Newtonsoft.Json.JsonValidatingReader, Newtonsoft.Json.Bson.BsonReader, Newtonsoft.Json.Linq.JTokenReader에서 구현되었습니다.

abstract decimal Newtonsoft.Json.JsonReader.ReadAsDecimal ( )
pure virtual

Reads the next JSON token from the stream as a Nullable<Decimal>.

반환값
A Nullable<Decimal>.

Newtonsoft.Json.JsonValidatingReader, Newtonsoft.Json.JsonTextReader, Newtonsoft.Json.Bson.BsonReader, Newtonsoft.Json.Linq.JTokenReader에서 구현되었습니다.

void Newtonsoft.Json.JsonReader.SetStateBasedOnCurrent ( )
inlineprotected

Sets the state based on current token type.

void Newtonsoft.Json.JsonReader.SetToken ( JsonToken  newToken)
inlineprotected

Sets the current token.

매개변수
newTokenThe new token.
virtual void Newtonsoft.Json.JsonReader.SetToken ( JsonToken  newToken,
object  value 
)
inlineprotectedvirtual

Sets the current token and value.

매개변수
newTokenThe new token.
valueThe value.
void Newtonsoft.Json.JsonReader.Skip ( )
inline

Skips the children of the current token.

속성 문서화

bool Newtonsoft.Json.JsonReader.CloseInput
getset

Gets or sets a value indicating whether the underlying stream or TextReader should be closed when the reader is closed.

true to close the underlying stream or TextReader when the reader is closed; otherwise false. The default is true.

State Newtonsoft.Json.JsonReader.CurrentState
getprotected

Gets the current reader state.

The current reader state.

virtual int Newtonsoft.Json.JsonReader.Depth
get

Gets the depth of the current token in the JSON document.

The depth of the current token in the JSON document.

virtual char Newtonsoft.Json.JsonReader.QuoteChar
getset

Gets the quotation mark character used to enclose the value of a string.

virtual JsonToken Newtonsoft.Json.JsonReader.TokenType
get

Gets the type of the current Json token.

virtual object Newtonsoft.Json.JsonReader.Value
get

Gets the text value of the current Json token.

virtual Type Newtonsoft.Json.JsonReader.ValueType
get

Gets The Common Language Runtime (CLR) type for the current Json token.


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: