Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EightData Functions (continued)

JSONGetObjectKeyName Function

Overview

The JSONGetObjectKeyName function will return the key name for a specified object.

Syntax/Parameters

Syntax

string = JSONGetObjectKeyName ( handle hJSON, int object, int item );

Parameters

hJSON

A string representing

object

An int specifying a zero based index of the object.

item

An int specifying a zero based index an item within the object.

Return Value

Returns a string containing the key name for the specified item or an empty string on error. Use the GetLastError and GetLastErrorMessage functions to retrieve additional error information.

Remarks

[objects and named values have key names

[array items do not have key names

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic