Hi,
one of my PHP script get JSON from an Ajax call. With a depth of 5, all run fine, but if depth is 6, json_decode() fail on Sun box. Under Linux or Windows same scripts and data run fine. Does anyone have an hint for me?
Thanks, Cédric
Hi,
one of my PHP script get JSON from an Ajax call. With a depth of 5, all run fine, but if depth is 6, json_decode() fail on Sun box. Under Linux or Windows same scripts and data run fine. Does anyone have an hint for me?
Thanks, Cédric
You might want to try jsonwrapper. It is a wrapper implementation of the json_encode
and json_decode
functions. They are probably a bit slower than the native implementation, but if it works with your case you can safely say that Sun's native json implementation is broken and you should file a bug.