I have a JSONObject I want to convert this into an array.
{
"confirmationTypes": [
{
"confirmationTypeCode": "A"
},
{
"confirmationTypeCode": "B"
}
]
}
array = [confirmationTypes]
Example:
[
{
"confirmationTypes": [
{
"confirmationTypeCode": "A"
},
{
"confirmationTypeCode": "B"
}
]
}
]
How do I achieve this type of JSONArray
format