Generator.setPretty

Sets whether the generated JSON should be pretty printed.

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

class Generator
void
setPretty
()

Parameters

isPretty bool

whether the generated string should be pretty printed