Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter EightData Functions (continued)

8.7 JavaScript Object Notation (JSON)

8.7.1 Overview

JavaScript Object Notation (JSON) is an open standard file format, and data interchange format, that uses plain text to store and transmit data objects consisting of attribute-value pairs and array data types. It is a very common data format, with a diverse range of applications, such as serving as replacement for XML in AJAX systems.

JSON is a language-independent data format where string content is assumed to be encoded in UTF-8 (or 16 and 24).

Legato allows for the loading and reading of JSON Objects.

8.7.2 Item Name

Items are accessed by a name in the following syntax:

obj.name[n].name[n]. ...

Where:

  obj An arbitrary string as the the top object node. All objects must be preceded with “obj.” or “obj[n].”
  name Is the name of the node.
  [n] Specifies an optional zero-based item number in a list.

8.7.3 Functions

Page revised 2024-10-21