Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 539 Bytes

File metadata and controls

20 lines (17 loc) · 539 Bytes

JSON Parser in Clojure

JSON Parser implementation in Clojure

Introduction

  • 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 in test/clojure_json_parser/cases.

Usage

  1. Install Java
  2. Install leiningen (which also installs Clojure)
  3. Start repl by running the following command from the project directory
$ lein repl
  1. Run the test function inside repl
(test-json-parser)