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