A Node.js JSON parser that provides detailed, human-friendly error messages with code frames and file context.
parse-json is a Node.js library that parses JSON strings with significantly improved error messages. It solves the problem of cryptic, unhelpful errors from native `JSON.parse` by providing detailed diagnostics, code frames, and file context when parsing fails.
JavaScript and Node.js developers who work with JSON data and need clearer error messages during development, debugging, or when handling user-provided JSON.
Developers choose parse-json because it drastically reduces debugging time by offering human-readable error outputs with visual code snippets, while maintaining full compatibility with the standard JSON.parse API.
Parse JSON with more helpful errors
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.