I spent a day to build a toy JSON parser in Typescript to learn how parsers and tokenizers work, something I've always been curious about. I decided to put what I wrote on GitHub incase anyone else is curious how one might go about writing one!
PSA: This is a toy parser and is not to spec. Please do not use as a library.