Unit 'Json2Yaml' Package
[Overview][Classes][Index] [#fcl]

TJSONToYaml.IndentSize

Number of spaces used for indentation

Declaration

Source position: json2yaml.pp line 56

public property TJSONToYaml.IndentSize : Integer
  read FIndentSize
  write FIndentSize;

Description

The IndentSize property specifies the number of spaces used for each level of indentation in the generated YAML output. This value controls the visual structure and readability of the converted YAML document.

If not explicitly set, the default indentation size of 2 spaces is used during conversion. The indentation is applied consistently throughout the document to maintain proper YAML structure for nested objects and arrays.

See also

Convert

  

Convert JSON data to YAML format


Documentation generated on: Mar 09 2026