https://github.com/oscaro/edn2json
Convert EDN lines to JSON
https://github.com/oscaro/edn2json
cli edn json tool
Last synced: about 1 month 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 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T12:15:10.000Z (about 6 years ago)
- Last Synced: 2025-10-24T03:29:09.693Z (8 months ago)
- Topics: cli, edn, json, tool
- Language: Clojure
- Size: 3.91 KB
- Stars: 1
- Watchers: 5
- 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 edn2json
Then move the standalone `edn2json` executable somewhere in your `PATH`.
## License
Copyright © 2016-2018 Oscaro