Advent of Kotlin: Week 4
We've started this advent with JSON stringify. This week, we will do the opposite: JSON parsing.
The process of parsing is transforming a string with an object representing an objects in JSON format into a representation of this object. Here is an example:
In this exercise, you might find regex really useful. If you don't know it, this course might be useful.
Here you the definition of the JSON parse function:
Here is the
Here are unit tests:
I wish you the best of luck in this and future challenges and can't wait to see your solutions :)