jsonlint

JSON Lint for PHP

MIT License

Downloads
164.5M
Stars
1.3K
Committers
38

Bot releases are hidden (Show)

jsonlint - 1.10.2 Latest Release

Published by Seldaek 8 months ago

  • 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: https://github.com/Seldaek/jsonlint/compare/1.10.1...1.10.2

jsonlint - 1.10.1

Published by Seldaek 10 months ago

  • Fixed quiet mode when parsing from stdin (#87)

Full Changelog: https://github.com/Seldaek/jsonlint/compare/1.10.0...1.10.1

jsonlint - 1.10.0

Published by Seldaek 10 months ago

  • Added ALLOW_COMMENTS flag to parse while allowing (and ignoring) inline // and multiline /* */ comments in the JSON document (#81)

Full Changelog: https://github.com/Seldaek/jsonlint/compare/1.9.0...1.10.0

jsonlint - 1.9.0

Published by Seldaek over 2 years ago

  • Internal cleanups and type fixes

Full Changelog: https://github.com/Seldaek/jsonlint/compare/1.8.9...1.9.0

jsonlint - 1.8.9

Published by Seldaek over 2 years ago

What's Changed

Full Changelog: https://github.com/Seldaek/jsonlint/compare/1.8.3...1.8.9

jsonlint - 1.8.3

Published by Seldaek almost 4 years ago

  • Cleaned up zip archives with .gitattributes
jsonlint - 1.8.2

Published by Seldaek about 4 years ago

  • More type annotations
jsonlint - 1.8.1

Published by Seldaek about 4 years ago

  • Added type annotations
jsonlint - 1.8.0

Published by Seldaek over 4 years ago

  • 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
jsonlint - 1.7.2

Published by Seldaek almost 5 years ago

  • Fixed issue decoding some unicode escaped characters (for " and ')
jsonlint - 1.7.1

Published by Seldaek over 6 years ago

  • Fixed PHP 5.3 compatibility in bin/jsonlint
jsonlint - 1.7.0

Published by Seldaek almost 7 years ago

  • Added ability to lint multiple files at once using the jsonlint binary
jsonlint - 1.6.2

Published by Seldaek almost 7 years ago

  • Build/test/docs fixes
jsonlint - 1.6.1

Published by Seldaek over 7 years ago

  • Fixed parsing of 0 as invalid
jsonlint - 1.6.0

Published by Seldaek over 7 years ago

  • 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
jsonlint - 1.5.0

Published by Seldaek almost 8 years ago

  • Added support for PHP 7.1 (which converts {"":""} to an object property called "" and not "_empty_" like 7.0 and below).
jsonlint - 1.4.1

Published by Seldaek about 8 years ago

  • Minor white-space and error wording tweaks
jsonlint -

Published by Seldaek almost 9 years ago

  • Added a DuplicateKeyException allowing for more specific error detection and handling
jsonlint - 1.3.1

Published by Seldaek over 9 years ago

  • Fixed segfault when parsing large JSON strings
jsonlint - 1.2.0

Published by Seldaek about 10 years ago

  • 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