GObject.Object
ClutterJson.JsonParser
| Import line: | ClutterJson = imports.gi.ClutterJson; |
| GIR File: | ClutterJson-1.0.gir |
| C documentation: | ClutterJsonJsonParser |
| Class : | JsonParser |
| Extends: | GObject.Object |
| Show / Hide Inherited methods, properties and signals |
| Properties | Defined By | |
|---|---|---|
|
parent_instance : GObject.Object
read only
|
ClutterJson.JsonParser | |
|
priv : ClutterJson.JsonParserPrivate
read only
|
ClutterJson.JsonParser | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new ClutterJson.JsonParser
(Object properties)
Create a new ClutterJson.JsonParser
Create a new ClutterJson.JsonParser
|
||
|
get_current_line
()
:
Number
Retrieves the line currently parsed, starting from 1.
Retrieves the line currently parsed, starting from 1.
|
ClutterJson.JsonParser | |
|
get_current_pos
()
:
Number
Retrieves the current position inside the current line, starting from 0.
Retrieves the current position inside the current line, starting from 0.
|
ClutterJson.JsonParser | |
|
get_root
()
:
ClutterJson.JsonNode
Retrieves the top level node from the parsed JSON stream.
Retrieves the top level node from the parsed JSON stream.
|
ClutterJson.JsonParser | |
|
Loads a JSON stream from a buffer and parses it.
Loads a JSON stream from a buffer and parses it. You can call this function multiple times with the same JsonParser object, but the contents of the parser will be destroyed each time.
|
ClutterJson.JsonParser | |
| ClutterJson.JsonParser | ||
| Event | Defined By | |
|---|---|---|
|
The ::array-element signal is emitted each time the JsonParser has successfully parsed a single element of a JsonArray.
The ::array-element signal is emitted each time the JsonParser has successfully parsed a single element of a JsonArray. The array and element index are passed to the signal handlers.
|
ClutterJson.JsonParser | |
|
array_end (JsonParser self, JsonArray array)
:
none
The ::array-end signal is emitted each time the JsonParser has successfully parsed an entire JsonArray
The ::array-end signal is emitted each time the JsonParser has successfully parsed an entire JsonArray
|
ClutterJson.JsonParser | |
|
array_start (JsonParser self)
:
none
The ::array-start signal is emitted each time the JsonParser starts parsing a JsonArray
The ::array-start signal is emitted each time the JsonParser starts parsing a JsonArray
|
ClutterJson.JsonParser | |
|
error (JsonParser self, void* error)
:
none
The ::error signal is emitted each time a JsonParser encounters an error in a JSON stream.
The ::error signal is emitted each time a JsonParser encounters an error in a JSON stream.
|
ClutterJson.JsonParser | |
|
object_end (JsonParser self, JsonObject object)
:
none
The ::object-end signal is emitted each time the JsonParser has successfully parsed an entire JsonObject.
The ::object-end signal is emitted each time the JsonParser has successfully parsed an entire JsonObject.
|
ClutterJson.JsonParser | |
|
The ::object-member signal is emitted each time the JsonParser has successfully parsed a single member of a JsonObject.
The ::object-member signal is emitted each time the JsonParser has successfully parsed a single member of a JsonObject. The object and member are passed to the signal handlers.
|
ClutterJson.JsonParser | |
|
object_start (JsonParser self)
:
none
The ::object-start signal is emitted each time the JsonParser starts parsing a JsonObject.
The ::object-start signal is emitted each time the JsonParser starts parsing a JsonObject.
|
ClutterJson.JsonParser | |
|
parse_end (JsonParser self)
:
none
The ::parse-end signal is emitted when the parser successfully finished parsing a JSON data stream
The ::parse-end signal is emitted when the parser successfully finished parsing a JSON data stream
|
ClutterJson.JsonParser | |
|
parse_start (JsonParser self)
:
none
The ::parse-start signal is emitted when the parser began parsing a JSON data stream.
The ::parse-start signal is emitted when the parser began parsing a JSON data stream.
|
ClutterJson.JsonParser | |