/json-parser

Primary LanguageJavaMIT LicenseMIT

json-parser

Technical exercise for practicing TDD and programming skills

The exercise

You need to write a JSON parser

Given

You have given an empty implementation: JsonParser and a bunch of simple tests: JsonParserTest

You can use Ctrl+Alt+Shift+K to convert them to Kotlin, if you like.

Goal

You need to implement JsonParser to support as many JSON features as possible. We recommend to start with the simplest cases: plain number, plain string, array, etc.

How to run tests

  1. In IDEA: "Run configurations" -> "tests"
  2. From command line: "./gradlew"

Process

  1. Gather in teams of 2-4 people
  2. You create a branch from the main branch
  3. You commit every small change to this branch
  4. You will see results on https://github.com/cbxp/json-parser/actions
  5. We will periodically add new tests to the main branch
  6. After the deadline, you will present your algorithm

Andrei & Anton // Codeborne