jsonAppendToObject (JSON Creation & Manipulation)
Compatible with:
- Purpose
- This command is used to append values to the end of the indicated arrays within a JSON document.
- If the JSON document supplied in input is invalid, command fails with error "INVALID_JSON".
- If the path mentioned is not part of the JSON document, command fails with error "INVALID_JSON_PATH"
- Syntax
-
jsonAppendToObject({Json/VariableName} || {path,val},VariableName)
- Multiple paths can be provided seperated by comma.
- Target
- {Json/VariableName} || {path,val}
- Value
- VariableName
- Return Value
- json Object
Example(s):
Click here to see the example