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
- In IDEA: "Run configurations" -> "tests"
- From command line: "./gradlew"
Process
- Gather in teams of 2-4 people
- You create a branch from the
main
branch - You commit every small change to this branch
- You will see results on https://github.com/cbxp/json-parser/actions
- We will periodically add new tests to the
main
branch - After the deadline, you will present your algorithm
Andrei & Anton // Codeborne