Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.
MIT License
Feature: Add support for PHP 8.1 and PHP 8.2.
(#31 by @clue and #30 by @SimonFrings)
Feature: Check type of incoming data
before trying to decode NDJSON.
(#29 by @SimonFrings)
Improve documentation and examples and update to new default loop.
(#26 by @clue, #27 by @SimonFrings and #25 by @PaulRotmann)
Improve test suite, report failed assertions and ensure 100% code coverage.
(#32 and #33 by @clue and #28 by @SimonFrings)
Published by clue almost 4 years ago
.gitattributes
to exclude dev files from exports.Feature: Improve error reporting and add parsing error message to Exception and
ignore JSON_THROW_ON_ERROR
option (available as of PHP 7.3).
(#14 by @clue)
Feature: Add benchmarking script and import all global function references.
(#16 by @clue)
Improve documentation and add NDJSON format description and
add support / sponsorship info.
(#12 and #17 by @clue)
Improve test suite to run tests on PHP 7.4 and simplify test matrix and
apply minor code style adjustments to make phpstan happy.
(#13 and #15 by @clue)
Feature: Limit buffer size to 64 KiB by default.
(#10 by @clue)
Feature: Forward compatibility with EventLoop v0.5 and upcoming v1.0.
(#8 by @clue)
Fix: Return bool false
if encoding fails due to invalid value to pause source.
(#9 by @clue)
Improve test suite by supporting PHPUnit v6 and test against legacy PHP 5.3 through PHP 7.2.
(#7 by @clue)
Update project homepage.
(#11 by @clue)