jsonlint
« Back to VersTracker
Description:
JSON parser and validator with a CLI
Type: Formula  |  Latest Version: 1.6.0@0  |  Tracked Since: Dec 24, 2025
Links: Homepage  |  GitHub  |  Docs  |  formulae.brew.sh
Stars: 1,980  |  Forks: 418  |  Language: JavaScript  |  Category: Developer tools
Tags: json validation cli developer-tools parser
Install: brew install jsonlint
About:
jsonlint is a command-line tool and Node.js library for validating and parsing JSON data. It ensures JSON files are syntactically correct according to the RFC 4627 specification, providing clear error messages for debugging. Its primary value is in automating JSON validation within development, CI/CD pipelines, and data processing workflows.
Key Features:
  • Validates JSON syntax against RFC standards
  • Provides a CLI for easy integration into scripts and automation
  • Offers clear, human-readable error reporting with line numbers
  • Can be used as a Node.js library for programmatic validation
  • Supports compact output or pretty-printing of JSON
Use Cases:
  • Validating JSON configuration files (e.g., .json configs, package.json) before deployment
  • Integrating JSON validation into CI/CD pipelines to catch errors early
  • Debugging and formatting JSON output from APIs or other data sources
Alternatives:
  • jq – A more powerful JSON processor that can also validate; jq is for filtering and transforming, while jsonlint is focused purely on validation.
  • python -m json.tool – Python's built-in JSON tool validates and prettifies but is part of the Python ecosystem, whereas jsonlint is Node.js/JS native.
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:55pm 1.6.0 0 VERSION_BUMP 08c9a030