adrienbrault/partial-json

Parse incomplete JSON. Great for streamed JSON.

Maintainers

👁 AdrienBrault

Package info

github.com/adrienbrault/partial-json

pkg:composer/adrienbrault/partial-json

Statistics

Installs: 2 743

Dependents: 2

Suggesters: 0

Stars: 0

1.2.0 2024-04-24 21:51 UTC

Requires

None

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT bccb71bebe8471252daf366327e244d5e6792b6c

  • Greg Hunt <freshbrewedweb.woop@gmail.com>

This package is auto-updated.

Last update: 2026-06-25 02:33:05 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.