JIRA REST Connector 24.4
IDOL JIRA REST Connector Help

# LuaJsonArray Methods

A `LuaJsonArray` object represents a JSON array.

If you have a `LuaJsonArray` object called `myJsonArray` you can call its methods using the '`:`' operator. For example:

    myJsonArray:size()

Constructor | Description
--- | ---
LuaJsonArray:new | The constructor for a `LuaJsonArray` object (creates a new `LuaJsonArray`).

Method | Description
--- | ---
append | Appends a value to the array.
clear | Clears the array, so that it contains no values.
copy | Copies the array.
empty | Checks whether the array is empty.
exists | Checks whether a specified path exists in the array.
existsByPath | Checks whether a specified path exists in the array.
ipairs | Returns an iterator function that you can use to iterate over all of the values in the array.
lookup | Returns the value at a specified path in the array.
lookupByPath | Returns the value at a specified path in the array.
size | Returns the size of the array.
string | Returns the array as a string.

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL JIRA REST Connector 24.4

Topic Title: LuaJsonArray Methods