set_pretty


Description:

[ Version ( since = "0.14" ) ]
public void set_pretty (bool is_pretty)

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