Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.46 KB

jsonobject-writeto-outstream-method.md

File metadata and controls

43 lines (35 loc) · 1.46 KB
title description ms.author ms.date ms.topic author ms.reviewer
JsonObject.WriteTo(OutStream) Method
Serializes and writes the JSON data of the JsonObject to a given OutStream object.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

JsonObject.WriteTo(OutStream) Method

Version: Available or changed with runtime version 1.0.

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

Syntax

[Ok := ]  JsonObject.WriteTo(OutStream: OutStream)

Parameters

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

OutStream
 Type: OutStream
The OutStream 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.

See Also

JsonObject Data Type
Get Started with AL
Developing Extensions