格式化、压缩、校验 JSON,还能一键转成 PHP 数组写法。
json_decode 默认转对象,第二个参数传 true 才是数组。深度超过 512 层会返回 null,用 json_last_error 查原因。