Edit

Share via


NavApp.GetResourceAsJson(Text [, TextEncoding]) Method

Version: Available or changed with runtime version 14.0.

Retrieves the specified resource as a JsonObject

Syntax

ResourceValue :=   NavApp.GetResourceAsJson(ResourceName: Text [, Encoding: TextEncoding])

Parameters

ResourceName
 Type: Text
Name of the resource to retrieve

[Optional] Encoding
 Type: TextEncoding
The encoding that will be used by the stream. The default encoding is MSDos.

Return Value

ResourceValue
 Type: JsonObject

NavApp data type
Getting started with AL
Developing extensions