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};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | System.JSON.Writers.pas System.JSON.Writers.hpp |
System.JSON.Writers | TJsonTextWriter |
Description
Indique comment doit être formaté la sortie texte JSON.
Les valeurs possibles sont : None, Indented
.
None
: la valeur par défaut. Aucun formatage spécial n'est appliqué.
Indented
: les objets enfant sont indentés selon la valeur des paramètres Indentation et IndentChar.
Lorsque vous créez une instance de TJsonTextWriter, Formatting est défini sur None
.