I'm wondering how I can use PHP to parse the JSON below and output the parsed values into CSV format.
{
"test":{"12345":"98765","56789":"54321"},
"control":{"99999":"98765","88888":"98765"}
}
I would like to extract just the keys from the test array (i.e. 12345, 56789) and have them returned in CSV format. Is that possible to do using json_decode?
Please feel free to ask any questions if you need more information