php 读写json文件及修改json的方法 实例如下所示://追加写入用户名下文件$code="001";//动态数据$json_string=file_get_contents("text.json 读写json文件