I am working on to migrate the PHP code to PERL, I am facing issue while encoding the object into JSON.
it gives me an error : json text or perl structure exceeds maximum nesting level (max_depth set too low?).
I have tried the JSON:PP and JSON::XS but did not get success.
I tried to setup the max_depth value, after that process is keep running and running.
my $json = JSON::XS->new->utf8->max_depth([100]); #$json->encode($data) my $json_object = $json->encode($output);
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |