Skip to content

jsonStoreObjectByIndex (JSON Creation & Manipulation)

Compatible with:
  • Purpose
  • This command retrieves object from JSON document using "index" as a 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 object type, then command fails with error "INCOMPATIBLE_TYPE"
  • Syntax
  • jsonStoreObjectByIndex({Json/VariableName}||{index/VariableName},VariableName)
  • Target
  • JSONString/VariableName||index/VariableName
  • Value
  • VariableName
  • Return Value
  • JSON Object

Example(s):

Click here to see the example

 

Feedback and Knowledge Base