Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Jsonlint Laravel Package

seld/jsonlint

seld/jsonlint is a PHP JSON parser/linter that provides clear, line-based parse error messages. Lint or parse JSON with exceptions, detect or collect duplicate keys, parse to assoc arrays, and optionally allow comments—ideal for validating user-edited JSON.

View on GitHub
Deep Wiki
Context7
1.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/Seldaek/jsonlint/compare/1.10.2...1.11.0

1.10.2
  • 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

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

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

1.10.0
  • 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

1.9.0
  • Internal cleanups and type fixes

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

1.8.9

What's Changed

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

1.8.3
  • Cleaned up zip archives with .gitattributes
1.8.2
  • More type annotations
1.8.1
  • Added type annotations
1.8.0
  • 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
1.7.2
  • Fixed issue decoding some unicode escaped characters (for " and ')
1.7.1
  • Fixed PHP 5.3 compatibility in bin/jsonlint
1.7.0
  • Added ability to lint multiple files at once using the jsonlint binary
1.6.2
  • Build/test/docs fixes
1.6.1
  • Fixed parsing of 0 as invalid
1.6.0
  • 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
1.5.0
  • Added support for PHP 7.1 (which converts {"":""} to an object property called "" and not "_empty_" like 7.0 and below).
1.4.1
  • Minor white-space and error wording tweaks
1.4.0
  • Added a DuplicateKeyException allowing for more specific error detection and handling
1.3.1
  • Fixed segfault when parsing large JSON strings
1.2.0
  • 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
1.3.0
  • Added parsing to an associative array via JsonParser::PARSE_TO_ASSOC
  • Fixed a warning when rendering parse errors on empty lines
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope