GetAsString method: JsonArray class

Syntax

GetAsString(Index)

Description

Use this method to return the Json array element at the index location as a string.

Parameters

Parameter Description

Index

Specifies the index in the Json array as an integer.

Returns

String.

Example

Local JsonArray &jArray = CreateJsonArray();
Local string &myJeStr = &jArray.GetAsString(2);