格式化Curl返回的Json字符格式化Curl返回的Json字符
格式化Curl返回的Json字符格式化Curl返回的Json字符 Python 格式化Nodejs 格式化经常会用到curl调试接口,服务器返回的是json,不过这些json是没有格式化的,不方便阅读。经过搜索和实验,发现下面2中方式比较方便。示例:curl https://news-at.zhihu.com/api/4/news/latest{"date":"20171014","sto