Implement a JSON parser. You are given a list of tokens representing a JSON, like start-object, string, number, end-object. Then, implement nested objects and then implement array (i.e given start-array, end-array tokens). How to figure out when invalid token sequence is encountered? How to make your code cleaner.
Check out your Company Bowl for anonymous work chats.