Is a tool for convert json to ascii automatic
go mod init
- Install logrus
go get github.com/sirupsen/logrus
# from file
go run main.go -jfile jsonfile.json
# raw json
go run main.go -json "{\"en\": \"hello world\", \"es\": \"hola mundo\", \"array\": [{\"a\": 1.0, \"b\": false}]}"
Root: (object)
|_en: (string)
|_es: (string)
|_array: (array)
|_a: (float)
|_b: (bool)
- Remove duplicates