API:System.JSON.Writers.TJsonTextWriter.WriteComment
Delphi
procedure WriteComment(const Comment: string); override;
C++
virtual void __fastcall WriteComment(const System::UnicodeString Comment);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.JSON.Writers.pas System.JSON.Writers.hpp |
System.JSON.Writers | TJsonTextWriter |
Description
Writes a JavaScript block source comment (/*…*/
) with the specified text.
System.JSON.Writers.TJsonTextWriter.WriteComment inherits from System.JSON.Writers.TJsonWriter.WriteComment. All content below this line refers to System.JSON.Writers.TJsonWriter.WriteComment.
- Note: Standard JSON and BSON do not support JavaScript source comments.
Writes a JavaScript block source comment (/*…*/
) with the specified text.