JSON Parser implementation in Clojure
- The full source code is in
src/clojure_json_parser/core.clj
file. parse-json
is the primary JSON parser function.test-json-parser
tests against a set of test cases intest/clojure_json_parser/cases
.
- Install
Java
- Install
leiningen
(which also installsClojure
) - Start repl by running the following command from the project directory
$ lein repl
- Run the test function inside repl
(test-json-parser)