摘要: 项目需要,把格式化好的json文件去掉所有空格和换行,压缩成最小 就有了一下代码 <?php $src_path = "./out/cli/json/"; $dst_path = "./compress/"; $files = glob($src_path . "*.json"); foreach( 阅读全文
posted @ 2021-08-02 14:46 x9mars 阅读(672) 评论(0) 推荐(0) 编辑