GObject.Object
ClutterJson.JsonGenerator
Import line: | ClutterJson = imports.gi.ClutterJson; |
GIR File: | ClutterJson-1.0.gir |
C documentation: | ClutterJsonJsonGenerator |
Class : | JsonGenerator |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
indent : Number
Number of spaces to be used to indent when pretty printing.
Number of spaces to be used to indent when pretty printing.
|
ClutterJson.JsonGenerator | |
indent_char : Number
The character that should be used when indenting in pretty print.
The character that should be used when indenting in pretty print.
|
ClutterJson.JsonGenerator | |
parent_instance : GObject.Object
read only
|
ClutterJson.JsonGenerator | |
pretty : Boolean
Whether the output should be "pretty-printed", with indentation and newlines.
Whether the output should be "pretty-printed", with indentation and newlines. The indentation level can be controlled by using the JsonGenerator:indent property
|
ClutterJson.JsonGenerator | |
priv : ClutterJson.JsonGeneratorPrivate
read only
|
ClutterJson.JsonGenerator | |
root : ClutterJson.JsonNode
The root JsonNode to be used when constructing a JSON data stream.
The root JsonNode to be used when constructing a JSON data stream.
|
ClutterJson.JsonGenerator |
Method / Constructor | Defined By | |
---|---|---|
new ClutterJson.JsonGenerator
(Object properties)
Create a new ClutterJson.JsonGenerator
Create a new ClutterJson.JsonGenerator
|
||
set_root
(JsonNode node)
:
none
Sets node as the root of the JSON data stream to be serialized by the JsonGenerator.
Sets node as the root of the JSON data stream to be serialized by the JsonGenerator.
|
ClutterJson.JsonGenerator | |
ClutterJson.JsonGenerator | ||
ClutterJson.JsonGenerator |
None |