C# Class Jayrock.Json.JsonBuffer

Datei anzeigen Open project: atifaziz/Jayrock Class Usage Examples

Public Properties

Property Type Description
Empty JsonBuffer

Private Properties

Property Type Description
JsonBuffer System
JsonBuffer System
Slice JsonBuffer
SliceImpl JsonBuffer

Public Methods

Method Description
CreateReader ( ) : JsonBufferReader

Creates a JsonBufferReader object that can be used to read the content of the buffer.

If the buffer contains a JSON null or scalar value then the returned reader is already started and positioned on the value.

Equals ( JsonBuffer other ) : bool
Equals ( object obj ) : bool
From ( Jayrock.Json.JsonReader reader ) : JsonBuffer
From ( Jayrock.Json.JsonToken token ) : JsonBuffer
From ( string json ) : JsonBuffer
GetArray ( ) : Jayrock.Json.JsonBuffer[]
GetArray ( JsonBuffer values ) : int
GetArray ( JsonBuffer values, int index, int count ) : int
GetArrayLength ( ) : int
GetBoolean ( ) : bool
GetHashCode ( ) : int
GetMemberCount ( ) : int
GetMembers ( ) : IEnumerable
GetMembers ( NamedJsonBuffer members ) : int
GetMembers ( NamedJsonBuffer members, int index, int count ) : int
GetMembersArray ( ) : Jayrock.Json.NamedJsonBuffer[]
GetNumber ( ) : JsonNumber
GetString ( ) : string
ToString ( ) : string

Returns the content of the buffer formatted as JSON text.

operator ( ) : bool
this ( int index ) : Jayrock.Json.JsonToken

Gets the token at the specified index.

Private Methods

Method Description
JsonBuffer ( ) : System
JsonBuffer ( Jayrock.Json.JsonBufferStorage storage, int start, int end ) : System
Slice ( int start, int end ) : JsonBuffer
SliceImpl ( int start, int end ) : JsonBuffer

Method Details

CreateReader() public method

Creates a JsonBufferReader object that can be used to read the content of the buffer.
If the buffer contains a JSON null or scalar value then the returned reader is already started and positioned on the value.
public CreateReader ( ) : JsonBufferReader
return JsonBufferReader

Equals() public method

public Equals ( JsonBuffer other ) : bool
other JsonBuffer
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

From() public static method

public static From ( Jayrock.Json.JsonReader reader ) : JsonBuffer
reader Jayrock.Json.JsonReader
return JsonBuffer

From() public static method

public static From ( Jayrock.Json.JsonToken token ) : JsonBuffer
token Jayrock.Json.JsonToken
return JsonBuffer

From() public static method

public static From ( string json ) : JsonBuffer
json string
return JsonBuffer

GetArray() public method

public GetArray ( ) : Jayrock.Json.JsonBuffer[]
return Jayrock.Json.JsonBuffer[]

GetArray() public method

public GetArray ( JsonBuffer values ) : int
values JsonBuffer
return int

GetArray() public method

public GetArray ( JsonBuffer values, int index, int count ) : int
values JsonBuffer
index int
count int
return int

GetArrayLength() public method

public GetArrayLength ( ) : int
return int

GetBoolean() public method

public GetBoolean ( ) : bool
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetMemberCount() public method

public GetMemberCount ( ) : int
return int

GetMembers() public method

public GetMembers ( ) : IEnumerable
return IEnumerable

GetMembers() public method

public GetMembers ( NamedJsonBuffer members ) : int
members NamedJsonBuffer
return int

GetMembers() public method

public GetMembers ( NamedJsonBuffer members, int index, int count ) : int
members NamedJsonBuffer
index int
count int
return int

GetMembersArray() public method

public GetMembersArray ( ) : Jayrock.Json.NamedJsonBuffer[]
return Jayrock.Json.NamedJsonBuffer[]

GetNumber() public method

public GetNumber ( ) : JsonNumber
return JsonNumber

GetString() public method

public GetString ( ) : string
return string

ToString() public method

Returns the content of the buffer formatted as JSON text.
public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool

this() public method

Gets the token at the specified index.
public this ( int index ) : Jayrock.Json.JsonToken
index int
return Jayrock.Json.JsonToken

Property Details

Empty public_oe static_oe property

public static JsonBuffer,Jayrock.Json Empty
return JsonBuffer