Skip to content

'JSON Creation and Manipulation' Command Category Examples Listing


Example # Automation Goal / Objective View Example
1 To append the values to an array within the JSON object
2 To validate whether the given path exists within a JSON document

3
To create a JSON document from the contents of a data file
4 To create a JSON document from the contents of a dataset
5 To retrieve an object from JSON using "index" as a reference
6 To validate whether the input provided is a valid JSON
7 To compare two different JSONs
8 To get the maximum depth of the JSON object and length (size) of an array for the defined path in the JSON object
9 To insert data into a JSON document
10 To merge two or more JSON documents to a single document
11 To remove data from a JSON document
12 To replace existing keys in the JSON document
13 To replace existing values in the JSON document
14 To check for the occurrence of a specific value in the JSON document
15 To retrieve values from JSON object using "index" or "name" as reference and store it in a variable
16 To remove escape characters within the string

Feedback and Knowledge Base