Is there a way in which I can parse the xyz.json file using the gradle task and get all the individual json data inside? eg. I want to analyze this data, which is stored in the xyz.json file in my resources folder and get all the values inside it, for example. get the value of "type".
{
"type":"xyz",
"properties": {
"foo": {
"type": "pqr"
},
"bar": {
"type": "abc"
},
"baz": {
"type": "lmo"
}
}
}
source
share