System.JSON.Writers.TJsonWriter.WriteToken

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure WriteToken(const Reader: TJsonReader; WriteChildren, WriteDateConstructorAsDate: Boolean); overload;
procedure WriteToken(const Reader: TJsonReader; InitialDepth: Integer;  WriteChildren, WriteDateConstructorAsDate: Boolean); overload;
procedure WriteToken(const Reader: TJsonReader); overload;
procedure WriteToken(const Reader: TJsonReader; WriteChildren: Boolean); overload;

C++

void __fastcall WriteToken(System::Json::Readers::TJsonReader* const Reader, bool WriteChildren, bool WriteDateConstructorAsDate)/* overload */;
void __fastcall WriteToken(System::Json::Readers::TJsonReader* const Reader, int InitialDepth, bool WriteChildren, bool WriteDateConstructorAsDate)/* overload */;
void __fastcall WriteToken(System::Json::Readers::TJsonReader* const Reader)/* overload */;
void __fastcall WriteToken(System::Json::Readers::TJsonReader* const Reader, bool WriteChildren)/* overload */;

Properties

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

Description

Writes the token/s given by the Reader.

Parameters:

  • <Reader>: The JSON Reader.
  • <WriteChildren>: When set to <True> which is the value by default, it recursively writes all the tokens from the JSON Reader that belong to the same level object.

See Also