I have some JSON code in a string that I am trying to parse. I havent used JSON much so this is prolly a simple question.
It is like:
$json_code ="
{
"key1":"value",
"key2":"value"
},
{
"key3":"value",
"key4":"value"
}";
Im having problems trying to loop through all of different Objects(? - the sets of curly braces) with php.
Any help is greatly appreciated
Thanks, Bryan
See Question&Answers more detail:os