ContributionsMost RecentMost LikesSolutionsReady API Devops Trying to run My Ready API project from Dev Ops. Not sure of the path to the project, is it the path to my local PC, or to the Repo on Dev Ops' Any Help is greatly appreciated ArmyGrad Re: Boolean check Thanks to all for the help, i have a solution that works. if anybody wants to see it i will gladly post it. Again many thanks ArmyGrad Re: Boolean check def jsonString = '''{ "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 } ] } } }''' def json = new groovy.json.JsonSlurper().parseText(jsonString) assert json.Content.'2024-02-26'.'2222'[0].Field1 == 101985 I swear that this is my last question on this, also i apologise for my stupidity. What i need to do is compare the value of Field 1 to what is in Datasourcebook1, then if both are the same then return true, but if DatasourceBook1 is different return false. it may be that i have to put 101985 into a variable then compare the 2 variables. what i have. def json = new groovy.json.JsonSlurper().parseText(jsonString) assert json.Content.'2024-02-27'.'6380'[0].BranchCode == 101985 check = false; if (json.contains == (datasourceBook1) ) { check = true; }; log.info "check=$check"; Re: Boolean check Apologies field 1 101985 Re: Boolean check 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 } ] } } } Re: Boolean check Json response Fri Feb 23 15:30:16 GMT 2024: INFO: {"Area":{"2024-02-26":{"6395":[{"appt":1234,"Type":"ANY","Date":"26T08:30:00","Time":"08:30","DisplayDate":"26 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") ) { check = "PASS"; } Re: Displaying Object elements Ignore I found out the reason it was failing Displaying Object elements How do i get to display the object elements Re: Getting info from json response into a groovy script New Question how do i get to print out the data in each of the objects returned.