{
 "kind": "tool",
 "slug": "jsonc-parser",
 "path": "tools/jsonc-parser/",
 "name": "jsonc-parser",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Scraping, browsers and parsing",
   "tools/scraping-parsing/"
  ]
 ],
 "lead": "Parser for JSON with comments and trailing commas support.",
 "chips": [
  {
   "label": "Scraping, browsers and parsing",
   "path": "tools/scraping-parsing/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install jsonc-parser"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/microsoft/node-jsonc-parser"
  },
  {
   "label": "Website",
   "href": "https://github.com/microsoft/node-jsonc-parser#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/microsoft/node-jsonc-parser"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 19, 2026",
   "note": "Latest GitHub release Jun 24, 2024. ",
   "src": "https://github.com/microsoft/node-jsonc-parser"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "44 projects",
   "status": "info",
   "sub": "#8 of 141 in its category",
   "note": "Dependency in 44 public GitHub projects set up for AI coding agents that we scanned (0.7%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What jsonc-parser does",
   "parts": [
    {
     "t": "prose",
     "text": "Parser for JSON with comments and trailing commas support."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "jsonc-parser popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "62",
       "of": "/ 100",
       "l": "Gid Score, #844 overall"
      },
      {
       "n": "115M",
       "l": "downloads a week, npm"
      },
      {
       "n": "769",
       "l": "GitHub stars"
      },
      {
       "n": "44",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How jsonc-parser is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "jsonc-parser is a dependency in 44 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.9% of the 4,867 JavaScript/TypeScript ones), #8 of 141 in scraping, browsers and parsing.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 151; those are left out of every share on this page.",
      "The most used alternative in our scan is fast-xml-parser (52 projects).",
      "Projects that use it most often also use Zod (75.0%), tsx (56.8%), Model Context Protocol SDK (JavaScript) (52.3%).",
      "It is more common in projects set up for Kiro (5.7%) than for Cursor (0.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "36 projects, 1.1%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "20 projects, 0.7%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "14 projects, 0.6%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "10 projects, 2.1%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "8 projects, 5.7%",
       "v": "Kiro",
       "path": "agents/kiro/"
      },
      {
       "l": "6 projects, 1.7%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "5 projects, 1.1%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 75.0% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 56.8% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 52.3% of its projects",
       "v": "Model Context Protocol SDK (JavaScript)",
       "path": "tools/modelcontextprotocol/"
      },
      {
       "l": "In 52.3% of its projects",
       "v": "Marked",
       "path": "tools/marked/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "AWS SDK for JavaScript (S3)",
       "path": "tools/aws-sdk-client-s3/"
      },
      {
       "l": "In 47.7% of its projects",
       "v": "undici",
       "path": "tools/undici/"
      },
      {
       "l": "In 43.2% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 43.2% of its projects",
       "v": "Anthropic SDK",
       "path": "tools/anthropic-ai/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about jsonc-parser",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Scraping, browsers and parsing",
       "path": "tools/scraping-parsing/",
       "items": [
        {
         "text": "Beautiful Soup",
         "path": "tools/beautifulsoup4/"
        },
        {
         "text": "Puppeteer",
         "path": "tools/puppeteer/"
        },
        {
         "text": "Playwright Core",
         "path": "tools/playwright-core/"
        },
        {
         "text": "lxml",
         "path": "tools/lxml/"
        },
        {
         "text": "Playwright (Python)",
         "path": "tools/playwright/"
        },
        {
         "text": "Cheerio",
         "path": "tools/cheerio/"
        },
        {
         "text": "Mozilla Readability",
         "path": "tools/mozilla-readability/"
        },
        {
         "text": "linkedom",
         "path": "tools/linkedom/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "jsonc-parser",
       "me": true,
       "facts": [
        "MIT",
        "Gid 62",
        "115M/wk"
       ]
      },
      {
       "name": "fast-xml-parser",
       "why": "High-performance XML parser and builder without native dependencies.",
       "path": "tools/fast-xml-parser/",
       "facts": [
        "MIT",
        "Gid 67",
        "119M/wk"
       ]
      },
      {
       "name": "JSONRepair",
       "why": "Repair and fix broken or malformed JSON documents automatically.",
       "path": "tools/jsonrepair/",
       "facts": [
        "ISC",
        "Gid 58",
        "6.6M/wk"
       ]
      }
     ],
     "more": "Compare jsonc-parser with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install jsonc-parser"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for jsonc-parser yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm jsonc-parser"
  ],
  [
   "Category",
   "Scraping, browsers and parsing"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "62.3"
  ],
  [
   "Rank in category",
   "#8 of 141"
  ],
  [
   "GitHub",
   "microsoft/node-jsonc-parser"
  ],
  [
   "Last change",
   "Oct 19, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/microsoft.png"
}