Building a JSON Parser from scratch with JS 🤯

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. webpack

    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

    A parser can have various applications in everyday life, and you probably use some parser daily. Babel, webpack, eslint, prettier, and jscodeshift. All of them, behind the scenes, run a parser that manipulates an Abstract Syntax Tree (AST) to do what you need - we'll talk about that later, don't worry.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. jscodeshift

    A JavaScript codemod toolkit.

    A parser can have various applications in everyday life, and you probably use some parser daily. Babel, webpack, eslint, prettier, and jscodeshift. All of them, behind the scenes, run a parser that manipulates an Abstract Syntax Tree (AST) to do what you need - we'll talk about that later, don't worry.

  4. json-parser

    A Json parser in TypeScript (by vitorsouzaalmeida)

    It's worth noting that my repository is open, and you can access it here.

  5. prettier

    Prettier is an opinionated code formatter.

    A parser can have various applications in everyday life, and you probably use some parser daily. Babel, webpack, eslint, prettier, and jscodeshift. All of them, behind the scenes, run a parser that manipulates an Abstract Syntax Tree (AST) to do what you need - we'll talk about that later, don't worry.

  6. ESLint

    Find and fix problems in your JavaScript code.

    A parser can have various applications in everyday life, and you probably use some parser daily. Babel, webpack, eslint, prettier, and jscodeshift. All of them, behind the scenes, run a parser that manipulates an Abstract Syntax Tree (AST) to do what you need - we'll talk about that later, don't worry.

  7. babel-sublime

    Syntax definitions for ES6 JavaScript with React JSX extensions.

    A parser can have various applications in everyday life, and you probably use some parser daily. Babel, webpack, eslint, prettier, and jscodeshift. All of them, behind the scenes, run a parser that manipulates an Abstract Syntax Tree (AST) to do what you need - we'll talk about that later, don't worry.

  8. astexplorer

    A web tool to explore the ASTs generated by various parsers.

    If you want to see how the AST of popular languages looks, I recommend the AST Explorer. It supports various languages, and you can view the complete AST and navigate through the nodes. If you want to go further, you can try to copy some logic from an existing parser and implement it in your own, such as calculating an expression according to precedence order, for example: 1 + 2 * 3 (which is 7, not 9).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Criando um Parser de JSON do zero

    7 projects | dev.to | 24 Feb 2023
  • Effective Refactoring with Codemods

    5 projects | dev.to | 30 Jan 2023
  • One PR to a parser unlocked prerendering in Brisa

    10 projects | dev.to | 23 Apr 2026
  • How 'npm create vue@latest' works

    7 projects | dev.to | 28 May 2024
  • What is an Abstract Syntax Tree in Programming?

    13 projects | dev.to | 5 Apr 2024

Did you know that JavaScript is
the 5th most popular programming language
based on number of references?