Transform JSON into EDN into Transit.
jet
supports three options:
--from
: allowed values: edn
, transit
or json
--to
: allowed values: edn
, transit
or json
--keywordize
: allowed values: true
or false
--version
: prints current version of jet
Examples:
$ echo '{"a": 1}' | jet --from json --to edn --keywordize false
{a 1}
$ echo '{"a": 1}' | jet --from json --to edn --keywordize true
{:a 1}
$ echo '{"a": 1}' | jet --from json --to transit
["^ ","a",1]
Install via brew:
brew install borkdude/brew/jet
To upgrade:
brew upgrade jet
Copyright © 2019 Michiel Borkent
Distributed under the EPL License, same as Clojure. See LICENSE.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close