Skip to content

jsonAssertPathExists (JSON Creation & Manipulation)

Compatible with:
  • Purpose
  • This command is used to check if the given path exists in the JSON document. If the path supplied in input is invalid, command fails with error "INVALID_JSON_PATH".  
  • Syntax
  • jsonAssertPathExists(json_string || path,VariableName)
  • Target
  • json_string || path
  • Value
  • VariableName
  • Return Value
  • Returns 0 if the path does not exists or 1 in case the path exists 
 

Feedback and Knowledge Base