Bearbeiten

Freigeben über


JsonObject.WriteTo(var Text) Method

Version: Available or changed with runtime version 1.0.

Serializes and writes the JSON data of the JsonObject to a given Text object.

Syntax

[Ok := ]  JsonObject.WriteTo(var String: Text)

Parameters

JsonObject
 Type: JsonObject
An instance of the JsonObject data type.

String
 Type: Text
The Text object to which the JSON data will be written.

Return Value

[Optional] Ok
 Type: Boolean
true if the write was successful; otherwise, false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

JsonObject Data Type
Get Started with AL
Developing Extensions