josn 转php

$data = josn_decode(data,[true]);

加true转化为php数组;不加为对象,使用:$data->'字段'。

原文地址:https://www.cnblogs.com/lilili/p/5116486.html