curl命令+jq抓取json数据
jq使用文档:http://stedolan.github.io/jq/manual/举例:{"name": "han","age": "20"}curl -s -d 'user=aa&pass=cc' http://www.example.com | jq '.name' >> file.txtcat file.txthan转载于:https://...