GetType method: JsonArray class

Syntax

GetType(Index)

Description

Use this method to return the Json value type at the index location.

Parameters

Parameter Description

Index

Specifies the index in the Json array as an integer.

Returns

Integer.

Example

Local JsonArray &jArray = CreateJsonArray();
Local integer &myJvTyp = &jArray.GetType(2);