jq is a lightweight and flexible command-line JSON processor.
The examples that I'm placing here are to help remind me how to do some parsing.
echo -e '["foo","bar"]\n["foo","fizz","buzz"]' | jq -c -s 'map(.[])'
jq is a lightweight and flexible command-line JSON processor.
The examples that I'm placing here are to help remind me how to do some parsing.
echo -e '["foo","bar"]\n["foo","fizz","buzz"]' | jq -c -s 'map(.[])'
package main | |
import ( | |
"crypto/sha1" | |
"encoding/hex" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"path/filepath" | |
"strconv" |