C# Class Jayrock.Json.JsonBuffer

Afficher le fichier Open project: atifaziz/Jayrock Class Usage Examples

Méthodes publiques

Свойство Type Description
Empty JsonBuffer

Private Properties

Свойство Type Description
JsonBuffer System
JsonBuffer System
Slice JsonBuffer
SliceImpl JsonBuffer

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat JsonBufferReader

Equals() public méthode

public Equals ( JsonBuffer other ) : bool
other JsonBuffer
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

From() public static méthode

public static From ( Jayrock.Json.JsonReader reader ) : JsonBuffer
reader Jayrock.Json.JsonReader
Résultat JsonBuffer

From() public static méthode

public static From ( Jayrock.Json.JsonToken token ) : JsonBuffer
token Jayrock.Json.JsonToken
Résultat JsonBuffer

From() public static méthode

public static From ( string json ) : JsonBuffer
json string
Résultat JsonBuffer

GetArray() public méthode

public GetArray ( ) : Jayrock.Json.JsonBuffer[]
Résultat Jayrock.Json.JsonBuffer[]

GetArray() public méthode

public GetArray ( JsonBuffer values ) : int
values JsonBuffer
Résultat int

GetArray() public méthode

public GetArray ( JsonBuffer values, int index, int count ) : int
values JsonBuffer
index int
count int
Résultat int

GetArrayLength() public méthode

public GetArrayLength ( ) : int
Résultat int

GetBoolean() public méthode

public GetBoolean ( ) : bool
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetMemberCount() public méthode

public GetMemberCount ( ) : int
Résultat int

GetMembers() public méthode

public GetMembers ( ) : IEnumerable
Résultat IEnumerable

GetMembers() public méthode

public GetMembers ( NamedJsonBuffer members ) : int
members NamedJsonBuffer
Résultat int

GetMembers() public méthode

public GetMembers ( NamedJsonBuffer members, int index, int count ) : int
members NamedJsonBuffer
index int
count int
Résultat int

GetMembersArray() public méthode

public GetMembersArray ( ) : Jayrock.Json.NamedJsonBuffer[]
Résultat Jayrock.Json.NamedJsonBuffer[]

GetNumber() public méthode

public GetNumber ( ) : JsonNumber
Résultat JsonNumber

GetString() public méthode

public GetString ( ) : string
Résultat string

ToString() public méthode

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

operator() public static méthode

public static operator ( ) : bool
Résultat bool

this() public méthode

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

Property Details

Empty public_oe static_oe property

public static JsonBuffer,Jayrock.Json Empty
Résultat JsonBuffer