PackageTrack
Sign in Get early access

seld/jsonlint

JSON Linter

1.12.1 236M downloads/mo #277 most downloaded on Packagist Seldaek/jsonlint

What this package is like to depend on

Last release 2 months ago

12 Jun 2026

Release timing varies

gaps range from 2 weeks to 1.9 years

Nearly every release is documented

notes for 28 of 29 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

29 releases · first in 2012

2 releases in the last 12 months

see the full history below

Release timeline

29 releases · Mar 2012 to Jun 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 29
  1. 1.12.1 12 Jun 2026
    Release notes

    What's Changed

    • Fixed possible corner cases in UTF-8 violation detection by @LLyaudet in #98

    Full Changelog: 1.12.0...1.12.1

    Open source →
  2. 1.12.0 11 Jun 2026
    Release notes
    • Added all flags of JsonParser to the command-line script by @LLyaudet in #94
    • Added Utf8Validator and an optional VALIDATE_UTF8_ENCODING flag by @LLyaudet in #91 #97

    Full Changelog: 1.11.0...1.12.0

    Open source →
  3. 1.11.0 11 Jul 2024
    Release notes

    What's Changed

    • Add ALLOW_DUPLICATE_KEYS_TO_ARRAY flag for collect values from duplicated keys in a __duplicate__ array #88

    New Contributors

    Full Changelog: 1.10.2...1.11.0

    Open source →
  4. 1.10.2 07 Feb 2024
    Release notes
    • Fixed exception messages potentially leaking data when showing the position in a file that is clearly not json, only the first character is now shown

    Full Changelog: 1.10.1...1.10.2

    Open source →
  5. 1.10.1 18 Dec 2023
    Release notes
    • Fixed quiet mode when parsing from stdin (#87)

    Full Changelog: 1.10.0...1.10.1

    Open source →
  6. 1.10.0 11 May 2023
    Release notes
    • Added ALLOW_COMMENTS flag to parse while allowing (and ignoring) inline // and multiline /* */ comments in the JSON document (#81)

    Full Changelog: 1.9.0...1.10.0

    Open source →
    Release notes
    • Added ALLOW_COMMENTS flag to parse while allowing (and ignoring) inline // and multiline /* */ comments in the JSON document (#81)
    Open source →
  7. 1.9.0 01 Apr 2022
    Release notes
    • Internal cleanups and type fixes

    Full Changelog: 1.8.9...1.9.0

    Open source →
    Release notes
    • Internal cleanups and type fixes
    Open source →
  8. 1.8.9 31 Mar 2022
    Release notes

    What's Changed

    • Lexer: fix handling of cut off json where string don't terminate by @glaubinix in #79

    Full Changelog: 1.8.3...1.8.9

    Open source →
  9. 1.8.3 11 Nov 2020
    Release notes
    • Cleaned up zip archives with .gitattributes
    Open source →
  10. 1.8.2 25 Aug 2020
    Release notes
    • More type annotations
    Open source →
  11. 1.8.1 13 Aug 2020
    Release notes
    • Added type annotations
    Open source →
  12. 1.8.0 30 Apr 2020
    Release notes
    • Improved lexer performance
      • Added (tentative) support for PHP 8
      • Fixed wording of error reporting for invalid strings when the error happened after the 20th character
    Open source →
  13. 1.7.2 24 Oct 2019
    Release notes
    • Fixed issue decoding some unicode escaped characters (for " and ')
    Open source →
  14. 1.7.1 24 Jan 2018
    Release notes
    • Fixed PHP 5.3 compatibility in bin/jsonlint
    Open source →
  15. 1.7.0 03 Jan 2018
    Release notes
    • Added ability to lint multiple files at once using the jsonlint binary
    Open source →
  16. 1.6.2 30 Nov 2017
    Release notes
    • No meaningful public changes
    Open source →
  17. 1.6.1 18 Jun 2017
    Release notes
    • Fixed parsing of 0 as invalid
    Open source →
  18. 1.6.0 06 Mar 2017
    Release notes
    • Added $flags arg to JsonParser::lint() to take the same flag as parse() did
      • Fixed backtracking performance issues on long strings with a lot of escaped characters
    Open source →
  19. 1.5.0 14 Nov 2016
    Release notes
    • Added support for PHP 7.1 (which converts {"":""} to an object property called "" and not "_empty_" like 7.0 and below).
    Open source →
  20. 1.4.1 14 Sep 2016

    Nothing published for this version

  21. 1.4.0 21 Nov 2015
    Release notes
    • Added a DuplicateKeyException allowing for more specific error detection and handling
    Open source →
  22. 1.3.1 04 Jan 2015
    Release notes
    • Fixed segfault when parsing large JSON strings
    Open source →
  23. 1.3.0 05 Sep 2014
    Release notes
    • Added parsing to an associative array via JsonParser::PARSE_TO_ASSOC
      • Fixed a warning when rendering parse errors on empty lines
    Open source →
  24. 1.2.0 20 Jul 2014
    Release notes
    • Added support for linting multiple files at once in bin/jsonlint
      • Added a -q/--quiet flag to suppress the output
      • Fixed error output being on STDOUT instead of STDERR
      • Fixed parameter parsing
    Open source →
  25. 1.1.2 04 Nov 2013
    Release notes
    • Fixed handling of Unicode BOMs to give a better failure hint
    Open source →
  26. 1.1.1 11 Feb 2013
    Release notes
    • Fixed handling of empty keys in objects in certain cases
    Open source →
  27. 1.1.0 13 Dec 2012
    Release notes
    • Added optional parsing of duplicate keys into key.2, key.3, etc via JsonParser::ALLOW_DUPLICATE_KEYS
      • Improved error reporting for common mistakes
    Open source →
  28. 1.0.1 13 Aug 2012
    Release notes
    • Added optional detection and error reporting for duplicate keys via JsonParser::DETECT_KEY_CONFLICTS
      • Added ability to pipe content through stdin into bin/jsonlint
    Open source →
  29. 1.0.0 12 Mar 2012
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive