I have to get the fieldName value as list from the code using Java. using JSON parser I took the data of field as JsonArray but within the array i am unable to fetch the fieldName Values. Help me to do it.
{
"fluentMethods": true,
"relationships": [],
"fields": [
{
"fieldName": "streetAddress",
"fieldType": "String"
},
{
"fieldName": "postalCode",
"fieldType": "String"
},
{
"fieldName": "city",
"fieldType": "String"
},
{
"fieldName": "stateProvince",
"fieldType": "String"
}
],
"changelogDate": "20170809051415",
"entityTableName": "location",
"dto": "no",
"pagination": "no",
"service": "no"
}