Generator.setPretty

Sets whether the generated JSON should be pretty printed.

Pretty printing will use indentation character specified in the json.generator.Generator.indent property and the spacing specified in the json.generator.Generator.indent property.

class Generator
void
setPretty
()

Parameters

isPretty bool

whether the generated string should be pretty printed