DEV Community

Kaitlin Zhang 改善
Kaitlin Zhang 改善

Posted on

Writing a JSON Parser in Javascript

Let's write a JSON parser that converts a JSON string into Javascript objects.

Here's my approach. If you want to skip straight to the code, you can do so here. Would be grateful for any feedback to refactor and make it better.

Understanding the Documentation

Here is the way that JSON.org describes the various parts of its syntax using railroad diagrams.

Top comments (1)

Collapse
 
scott-andrew profile image
Scott Andrew

Hello Kaitlin Zhang 改善
How are you doing