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 2026Releases
latest 29-
1.12.112 Jun 2026 -
1.12.011 Jun 2026Release notes
Open source →- 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
-
1.11.011 Jul 2024Release notes
Open source →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
- Add ALLOW_DUPLICATE_KEYS_TO_ARRAY flag for collect values from duplicated keys in a
-
1.10.207 Feb 2024Release notes
Open source →- 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
-
1.10.118 Dec 2023Release notes
Open source →- Fixed quiet mode when parsing from stdin (#87)
Full Changelog: 1.10.0...1.10.1
-
1.10.011 May 2023Release notes
Open source →- 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
Release notes
Open source →- Added ALLOW_COMMENTS flag to parse while allowing (and ignoring) inline
//and multiline/* */comments in the JSON document (#81)
- Added ALLOW_COMMENTS flag to parse while allowing (and ignoring) inline
-
1.9.001 Apr 2022 -
1.8.931 Mar 2022Release notes
Open source →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
-
1.8.311 Nov 2020 -
1.8.225 Aug 2020 -
1.8.113 Aug 2020 -
1.8.030 Apr 2020Release notes
Open source →- 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
- Improved lexer performance
-
1.7.224 Oct 2019 -
1.7.124 Jan 2018 -
1.7.003 Jan 2018 -
1.6.230 Nov 2017 -
1.6.118 Jun 2017 -
1.6.006 Mar 2017Release notes
Open source →- 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
- Added $flags arg to JsonParser::lint() to take the same flag as parse() did
-
1.5.014 Nov 2016Release notes
Open source →- Added support for PHP 7.1 (which converts
{"":""}to an object property called""and not"_empty_"like 7.0 and below).
- Added support for PHP 7.1 (which converts
-
1.4.114 Sep 2016Nothing published for this version
-
1.4.021 Nov 2015Release notes
Open source →- Added a DuplicateKeyException allowing for more specific error detection and handling
-
1.3.104 Jan 2015 -
1.3.005 Sep 2014Release notes
Open source →- Added parsing to an associative array via JsonParser::PARSE_TO_ASSOC
- Fixed a warning when rendering parse errors on empty lines
- Added parsing to an associative array via JsonParser::PARSE_TO_ASSOC
-
1.2.020 Jul 2014Release notes
Open source →- 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
- Added support for linting multiple files at once in bin/jsonlint
-
1.1.204 Nov 2013 -
1.1.111 Feb 2013 -
1.1.013 Dec 2012Release notes
Open source →- Added optional parsing of duplicate keys into key.2, key.3, etc via JsonParser::ALLOW_DUPLICATE_KEYS
- Improved error reporting for common mistakes
- Added optional parsing of duplicate keys into key.2, key.3, etc via JsonParser::ALLOW_DUPLICATE_KEYS
-
1.0.113 Aug 2012Release notes
Open source →- Added optional detection and error reporting for duplicate keys via JsonParser::DETECT_KEY_CONFLICTS
- Added ability to pipe content through stdin into bin/jsonlint
- Added optional detection and error reporting for duplicate keys via JsonParser::DETECT_KEY_CONFLICTS
-
1.0.012 Mar 2012