使用如下命令即可
echo '{"key":"value"}' | python -mjson.tool
效果如下
[root@localhost ~]# echo '{"key":"value"}' | python -mjson.tool
{
"key": "value"
}
使用如下命令即可
echo '{"key":"value"}' | python -mjson.tool
效果如下
[root@localhost ~]# echo '{"key":"value"}' | python -mjson.tool
{
"key": "value"
}
上一篇:hdu2021 5
下一篇:VS2013 预定义的宏
一.echo命令 echo 指令都是用于字符串的输出。命令格式: echo "It is a test" 1.1显示换行 echo -e "OK! \n" # -e 开启转义 \n换行echo "It it a test" 1.2.显示不换行 echo -e "OK! \c" # -e 开启转义 \c 不换行echo "It
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M