armygrad
1 year agoContributor
Boolean check
Hi All I'm almost there, i need to check that a json response contains 1234 within an array, and return true. and if it doesn't return false. boolean check = "FAIL"
if (response.contains("1234") ...
Json
I need to access Field 1
{
"Content" : {
"2024-02-26" : {
"2222" : [
{
"Field1" : 101985,
"Field2" : "TYRE",
"Field3" : "2024-02-26T08:30:00",
"Field4" : "08:30",
"Field5" : "26 Feb 2024",
"Field6" : 1,
"Field7" : 60,
"Field8" : 6380,
"Field9" : 127,
"Field10" : "Past",
"Field11" : false,
"Field12" : 0,
"Field13" : null,
"Field14" : 2961655,
"Field15" : null,
"Field16" : null,
"Field17" : null
}
]
}
}
}