adrienbrault / partial-json
Parse incomplete JSON. Great for streamed JSON.
Installs: 1 964
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
pkg:composer/adrienbrault/partial-json
Requires (Dev)
- php: ^8.2
- pestphp/pest: ^2.28
- phpstan/phpstan: ^1.10
This package is auto-updated.
Last update: 2025-09-25 00:57:00 UTC
README
This is a JSON partial that allows you to parse incomplete JSON. This is useful for parsing incomplete streams of JSON like from OpenAI.
Testing
Run tests with ./vendor/bin/pest
License
This package is open-sourced software licensed under the MIT license.