Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

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 handle to a JSON Object.

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

Depending on the structure of the data, certain and named values have key names. This function allows those strings to be retrieved.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2024-12-13