JSON Parser implementation in Clojure
- The full source code is in
src/clojure_json_parser/core.cljfile. parse-jsonis the primary JSON parser function.test-json-parsertests 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)