Build a simplified version of JSON.parse() that converts a JSON string into a JavaScript value by parsing it character by character.
Asked in frontend interviews at Google, Amazon, Microsoft and 1 more