greghunt/partial-json

Parse incomplete JSON. Great for streamed JSON.

Installs: 2 136

Dependents: 1

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 1

Open Issues: 2

pkg:composer/greghunt/partial-json

1.1.0 2024-02-12 20:16 UTC

This package is auto-updated.

Last update: 2025-10-06 23:32:15 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.