Redigera

Dela via


JsonToken.WriteTo(OutStream) Method

Version: Available or changed with runtime version 1.0.

Serializes and writes the JSON data of the JsonToken to a given OutStream object.

Syntax

[Ok := ]  JsonToken.WriteTo(Data: OutStream)

Parameters

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

Data
 Type: OutStream
The OutStream object to which the JSON data will be read.

Return Value

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

JsonToken Data Type
Get Started with AL
Developing Extensions