https://github.com/oscaro/edn2json
Convert EDN lines to JSON
https://github.com/oscaro/edn2json
cli edn json tool
Last synced: 2 days ago
JSON representation
Convert EDN lines to JSON
- Host: GitHub
- URL: https://github.com/oscaro/edn2json
- Owner: oscaro
- Created: 2018-02-07T15:33:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T12:15:10.000Z (over 5 years ago)
- Last Synced: 2025-02-25T05:16:32.164Z (8 months ago)
- Topics: cli, edn, json, tool
- Language: Clojure
- Size: 3.91 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# edn2json
`edn2json` reads one EDN per line on STDIN and outputs one JSON per line.
## Usage
cat *.edn | edn2json > myfile.jsons
## Install
### On macOS with Homebrew
brew install oscaro/public/edn2json
### From source
lein clean
lein uberjar
echo "#! $(which java) -jar" | cat - target/edn2json-*-standalone.jar > edn2json
chmod u+x edn2jsonThen move the standalone `edn2json` executable somewhere in your `PATH`.
## License
Copyright © 2016-2018 Oscaro