So I have a very big JSON string that represents a multidimensional array with 255 entries, each entry, being an array with 255 other entries, liek this:
0 => array(0, 1, ..., 255),
1 => array(0, 1, ..., 255),
...
255 => array(0, 1, ..., 255),
(the only difference is that the values from the 2nd level are strings made out of 2-3 characters in my case)
Could I retrieve a certain value from this encoded string based on a key, but without actually decoding it to an array?
for example, I may want to get $arr[37][78];
To do this currently I'd have to:
$arr = json_decode($string);
$value = $arr[37][78];
Which I'd like to avoid because the decoded string takes a huge amount of memory as an array...