C# Class HotChai.Serialization.Json.JsonObjectReader

Inheritance: ObjectReader
Show file Open project: hotchai/serialize.net

Public Methods

Method Description
JsonObjectReader ( Stream stream ) : System

Protected Methods

Method Description
PeekValueType ( ) : MemberValueType
ReadEndArrayToken ( ) : void
ReadEndObjectToken ( ) : void
ReadNextObjectMemberKey ( ) : bool
ReadPrimitiveValueAsBoolean ( ) : bool
ReadPrimitiveValueAsBytes ( int byteQuota ) : byte[]
ReadPrimitiveValueAsDouble ( ) : double
ReadPrimitiveValueAsInt32 ( ) : int
ReadPrimitiveValueAsInt64 ( ) : long
ReadPrimitiveValueAsSingle ( ) : float
ReadPrimitiveValueAsString ( int byteQuota ) : string
ReadPrimitiveValueAsUInt32 ( ) : uint
ReadPrimitiveValueAsUInt64 ( ) : ulong
ReadStartArrayToken ( ) : bool
ReadStartObjectToken ( ) : bool
ReadToFirstArrayValue ( ) : bool
ReadToNextArrayValue ( ) : bool
SkipPrimitiveValue ( ) : void

Private Methods

Method Description
IsNumeric ( char c ) : bool
IsWhiteSpace ( char c ) : bool
PeekChar ( ) : char
PeekToken ( ) : string
ReadChar ( ) : char
ReadColon ( ) : void
ReadComma ( ) : void
ReadNumber ( ) : string
ReadString ( int charQuota ) : string
ReadToken ( ) : string
ReadToken ( string token ) : void
ReadUtf8Character ( char charBuffer ) : int
SkipNumber ( ) : void
SkipString ( ) : void
SkipWhiteSpace ( ) : void

Method Details

JsonObjectReader() public method

public JsonObjectReader ( Stream stream ) : System
stream Stream
return System

PeekValueType() protected method

protected PeekValueType ( ) : MemberValueType
return MemberValueType

ReadEndArrayToken() protected method

protected ReadEndArrayToken ( ) : void
return void

ReadEndObjectToken() protected method

protected ReadEndObjectToken ( ) : void
return void

ReadNextObjectMemberKey() protected method

protected ReadNextObjectMemberKey ( ) : bool
return bool

ReadPrimitiveValueAsBoolean() protected method

protected ReadPrimitiveValueAsBoolean ( ) : bool
return bool

ReadPrimitiveValueAsBytes() protected method

protected ReadPrimitiveValueAsBytes ( int byteQuota ) : byte[]
byteQuota int
return byte[]

ReadPrimitiveValueAsDouble() protected method

protected ReadPrimitiveValueAsDouble ( ) : double
return double

ReadPrimitiveValueAsInt32() protected method

protected ReadPrimitiveValueAsInt32 ( ) : int
return int

ReadPrimitiveValueAsInt64() protected method

protected ReadPrimitiveValueAsInt64 ( ) : long
return long

ReadPrimitiveValueAsSingle() protected method

protected ReadPrimitiveValueAsSingle ( ) : float
return float

ReadPrimitiveValueAsString() protected method

protected ReadPrimitiveValueAsString ( int byteQuota ) : string
byteQuota int
return string

ReadPrimitiveValueAsUInt32() protected method

protected ReadPrimitiveValueAsUInt32 ( ) : uint
return uint

ReadPrimitiveValueAsUInt64() protected method

protected ReadPrimitiveValueAsUInt64 ( ) : ulong
return ulong

ReadStartArrayToken() protected method

protected ReadStartArrayToken ( ) : bool
return bool

ReadStartObjectToken() protected method

protected ReadStartObjectToken ( ) : bool
return bool

ReadToFirstArrayValue() protected method

protected ReadToFirstArrayValue ( ) : bool
return bool

ReadToNextArrayValue() protected method

protected ReadToNextArrayValue ( ) : bool
return bool

SkipPrimitiveValue() protected method

protected SkipPrimitiveValue ( ) : void
return void