Your initial data structure in $json is a data structure and not text. So it does not make sense to call decode_json with it. Just delete that line.
In reply to Re: Write json structure to a file
by Corion
in thread Write json structure to a file
by CropCircle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |