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 [[email protected]:indent-char] property and the spacing specified in the [[email protected]:indent] property.

Parameters:

this

a generator

is_pretty

whether the generated string should be pretty printed




2022 vala-language.org