System.JSON.Writers.TJsonTextWriter.Formatting
Delphi
property Formatting: TJsonFormatting read FFormatting write FFormatting;
C++
__property System::Json::Types::TJsonFormatting Formatting = {read=FFormatting, write=FFormatting, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.JSON.Writers.pas System.JSON.Writers.hpp |
System.JSON.Writers | TJsonTextWriter |
Description
Indicates how JSON text output is formatted.
The possible values are: None, Indented
.
None
: The default value. No special formatting is applied.
Indented
: Causes child objects to be indented according to the Indentation and IndentChar settings.
When you create an instance of TJsonTextWriter, Formatting is set to None
.