Can someone please help in parsing the JSON object in below format? The counter is dynamic and can be less, can be more. I want to get formattedBasePrice for all instances and store it in an array. What's the easiest way?
Thanks!
{
"sales":
{
"0":
{
"formattedBasePrice": "$9.99",
"formattedSalePrice": "$4.99",
"formattedPlusPrice": "$4.99"
},
"1":
{
"formattedBasePrice": "$29.99",
"formattedSalePrice": "$18.89",
"formattedPlusPrice": "$7.79"
}
}
}