Skip to main content
Version: 1.0.1

Json Get String

Is a keyword to find, get the value of a specific information field with string data type from a specific json

Platform​

Web, iOS, Android, Windows, JavaSwing, Window, API, JDBC, SSH, FTP

Attributes​

AttributesData SourceRecommended
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 VariableJson
fieldname: the information field that needs to get the value of jsonThe default system is VariableString
output: is the return value of the keywordThe default system is newVariableString

Use Cases​

Use when you need to retrieve the value of a specific information field with a string data type in 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 field name = id,

output: 5606163a-4bc5-454b-8a29-1530ddc8d8be