adrienbrault/partial-json

Parse incomplete JSON. Great for streamed JSON.

Maintainers

Package info

github.com/adrienbrault/partial-json

pkg:composer/adrienbrault/partial-json

Statistics

Installs: 2 359

Dependents: 2

Suggesters: 0

Stars: 0

1.2.0 2024-04-24 21:51 UTC

This package is auto-updated.

Last update: 2026-02-25 01:53:45 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.