jsonStoreArrayByIndex (JSON Creation & Manipulation)
Compatible with:
- Purpose
- This command retrieves values from JSON document using "index" as reference.
- If the JSON document supplied in input is invalid, command fails with error "INVALID_JSON".
- If index mentioned is not part of the JSON document, command fails with error "INDEX_NOT_PRESENT".
- If the found value is not an array type, then command fails with error "INCOMPATIBLE_TYPE"
- Syntax
- jsonStoreArrayByIndex({Json/VariableName}||{index/VariableName},VariableName)
- Target
- JSONString/VariableName||index/VariableName
- Value
- VariableName
- Return Value
- JSON Array
Example(s):
Click here to see the example