Property

JsonGenerator:pretty

since: 1.0

Declaration

property pretty: gboolean [ read, write ]

Description [src]

Whether the output should be “pretty-printed”, with indentation and newlines.

The indentation level can be controlled by using the JsonGenerator:indent property.

Type: gboolean
Available since:1.0
Default valueFALSE
Getter methodjson_generator_get_pretty()
Setter methodjson_generator_set_pretty()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno