# jsonc-parser — card for AI agents

Parser for JSON with comments and trailing commas support.

Category: Scraping, browsers and parsing · npm package `jsonc-parser` · latest version 3.3.1 (checked 2026-11-01)
Install: `npm install jsonc-parser`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 62.3 (#844 of all tools, 27 of 141 in its category)
- Used in 44 public projects set up for AI coding agents (0.7%)
- Downloads last week: 115,381,546 (as of 2026-11-24), +50.6% over 4 weeks
- GitHub stars: 769 (as of 2026-11-24)
- Last push: 2026-10-19

## Often used with
Zod 75.0%, tsx 56.8%, Model Context Protocol SDK (JavaScript) 52.3%, Marked 52.3%, AWS SDK for JavaScript (S3) 50.0%, undici 47.7%

## Checked alternatives (same job)
- fast-xml-parser: https://agentgid.com/tools/fast-xml-parser/agent.md
- JSONRepair: https://agentgid.com/tools/jsonrepair/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/jsonc-parser/
- Homepage: https://github.com/microsoft/node-jsonc-parser#readme
- Repository: https://github.com/microsoft/node-jsonc-parser

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
