I am new to php. I need some quick help with json_decode/php. I need to get values of g91 in an array, how can I do this? I suppose there is some recursion value that we can pass to json_decode...
{
"e": "none",
"f": "test",
"g": [
{
"g1": "text2",
"g9": {
"text3": {
"g91": 0,
"g92": [
"text5"
]
}
}
},
{
"g1": "text1",
"g9": {
"text4": {
"g91": 0,
"g92": [
"text6",
"text7"
]
}
}
}
]
}
Please note that text3 is not fixed..in next record, I have text4..
Thanks!