humanlsj@humanlsj-PC:~$ echo '{"job":"developer","name":"lmx","sex":"male"}' | python3 -m json.tool
{
"job": "developer",
"name": "lmx",
"sex": "male"
}
humanlsj@humanlsj-PC:~$ echo '{"address":{"province":"zhejiang","city":"hangzhou"},"name":"lmx","sex":"male"}' | python3 -m json.tool
{
"address": {
"province": "zhejiang",
"city": "hangzhou"
},
"name": "lmx",
"sex": "male"
}
# echo 这个有什么用?
# | 这个是通道吗?
# -m 这个参数有什么用?