set_pretty
Description:
Sets whether the generated JSON should be pretty printed.
Pretty printing will use indentation character specified in the [property@Json.Generator:indent-char] property and the spacing specified in the [property@Json.Generator:indent] property.
Parameters:
this |
a generator |
is_pretty |
whether the generated string should be pretty printed |