Axoni interview question

Implement something similar to a JSON parser in Scala