A naive implementation of jq in Node.js, only for quick testing.
node jq.js [options] [input]-p, --path <path>: Specify the JSON path to extract-h, --help: Display this help message and exit
input: JSON data. If input is not provided, the script will read from standard input.
node jq.js -p .data '{"data": "hello"}'cat example.json | node jq.js -p .datanode jq.js --help