Skip to content

jsonExtractKeysByPaths (JSON Creation & Manipulation)

Compatible with:
  • Purpose
  • This command is used to retrieve the keys from the top-level value of a jsonObject in a jsonArray.
  • If the path supplied in input is invalid, command fails with error "INVALID_JSON_PATH".
  • Syntax
  • jsonExtractKeysByPaths(jsonObject||path(, path), dataSetName)
  • Target
  • jsonObject||path(, path)
  • Value
  • dataSetName
  • Return Value
  • json Array

Example(s):

Click here to see the example

 

Feedback and Knowledge Base