System.JSON.TJSONAncestor.Format

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Format(Builder: TStringBuilder; const ParentIdent, Ident: string); overload; virtual;
function Format(Indentation: Integer = 4): string; overload;

C++

virtual void __fastcall Format(System::Sysutils::TStringBuilder* Builder, const System::UnicodeString ParentIdent, const System::UnicodeString Ident)/* overload */;
System::UnicodeString __fastcall Format(int Indentation = 0x4)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONAncestor

Description

Produces a string with pretty-printed JSON.

The indentation argument specifies indentation level for each next level of nested JSON elements.


See Also