Json Get Json
Is a keyword to find, get a child json object from a specific json
Platform
Web, iOS, Android, Windows, JavaSwing, Window, API, JDBC, SSH, FTP
Attributes
| Attributes | Data Source | Recommended |
|---|---|---|
| Json: is the json object that is interacted with in the keyword Usually the return result of the keywords Read Json File, Read Json String... | The default system is Variable | Json |
| fieldname: the information field that needs to get the value of the json | The default system is Variable | String |
| output: is the return value of the keyword | The default system is newVariable | Json |
Use Cases
Use when you need to retrieve a Json object contained within a specific Json
Example
Json:
{
"user": [
"tester01",
"tester02"
],
"id": "5606163a-4bc5-454b-8a29-1530ddc8d8be",
"code_integer": 37684,
"code_long": 2.423235879789781e+22,
"code_double": 34854.99774,
"value": {
"name": "host",
"status": "false"
}
}
get fieldname = value,
output:
{
"name":"host",
"status":"false"
}