在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jehiah/json2csv开源软件地址:https://github.com/jehiah/json2csv开源编程语言:Go 84.5%开源软件介绍:json2csvConverts a stream of newline separated json data to csv format. Installationpre-built binaries are available under releases. If you have a working golang install, you can use go get github.com/jehiah/json2csv Usage
To convert: {"user": {"name":"jehiah", "password": "root"}, "remote_ip": "127.0.0.1", "dt" : "[20/Aug/2010:01:12:44 -0400]"}
{"user": {"name":"jeroenjanssens", "password": "123"}, "remote_ip": "192.168.0.1", "dt" : "[20/Aug/2010:01:12:44 -0400]"}
{"user": {"name":"unknown", "password": ""}, "remote_ip": "76.216.210.0", "dt" : "[20/Aug/2010:01:12:45 -0400]"} to:
you would either json2csv -k user.name,remote_ip -i input.json -o output.csv or cat input.json | json2csv -k user.name,remote_ip > output.csv |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论