Generator.setPretty
void setPretty(bool isPretty)Sets whether the generated JSON should be pretty printed.
Pretty printing will use indentation character specified in the json.generator.Generator.indentChar property and the spacing specified in the json.generator.Generator.indent property.
Parameters
isPretty | whether the generated string should be pretty printed |