Json.Generator.get_pretty

### Method

# Json Generatorget_pretty

#### Declaration [src]

    gboolean
    json_generator_get_pretty (
      JsonGenerator* generator
    )

#### Description [src]

Retrieves the value set using `json_generator_set_pretty()`.

Available since: | 0.14

Gets property | `Json.Generator:pretty`

#### Return value

Returns: | `gboolean`
| `TRUE` if the generated JSON should be pretty-printed, and `FALSE` otherwise.