Json Get Long
Is a keyword to find, get the value of a specific information field with data type Long 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 json | The default system is Variable | String |
| output: is the return value of the keyword | The default system is newVariable | Long |
Use Cases
Use when you need to retrieve the value of a specific information field with a Long data type in a specific Json
Example
{
"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 = code_long,
output: 24232358797897808790890