PackageTrack
Sign in Get early access

violet/streaming-json-encoder

Library for iteratively encoding large JSON documents piece by piece

v1.1.5 2.2M downloads/mo #4873 most downloaded on Packagist violet-php/streaming-json-encoder

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Release timing varies

gaps range from 1 weeks to 3.4 years

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

7 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Feb 2017 to Dec 2022
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. v1.1.5 09 Dec 2022
    Release notes
    • Add support for PHP 8.2
    Open source →
    Release notes
    • Add support for PHP 8.2
    Open source →
  2. v1.1.4 02 Jan 2022
    Release notes
    • Improve Github action workflow
    • Fix additional PHP 8.1 deprecations
    • Fix issue with JsonStream::getContents() no returning buffer contents
    Open source →
    Release notes
    • Improve Github action workflow
    • Fix additional PHP 8.1 deprecations
    • Fix issue with JsonStream::getContents() no returning buffer contents
    Open source →
  3. v1.1.3 27 Dec 2021
    Release notes
    • Add support for PHP 8.1
    Open source →
    Release notes
    • Add support for PHP 8.1
    Open source →
  4. v1.1.2 29 Nov 2020
    Release notes
    • HHVM support has been dropped due to HHVM's renewed focus on Hack
    • CI build has been migrated to github actions
    • The CI build now tests for PHP version from 5.6 to 8.0
    Open source →
    Release notes
    • HHVM support has been dropped due to HHVM's renewed focus on Hack
    • CI build has been migrated to github actions
    • The CI build now tests for PHP version from 5.6 to 8.0
    Open source →
  5. v1.1.1 09 Jul 2017
    Release notes
    • Return UNKNOWN_ERROR as error code if valid error constant is not found
    • Minor improvements to the travis build process
    • Slightly improve the bundled autoloader
    Open source →
    Release notes
    • Return UNKNOWN_ERROR as error code if valid error constant is not found
    • Minor improvements to the travis build process
    • Slightly improve the bundled autoloader
    Open source →
  6. v1.1.0 28 Jun 2017
    Release notes
    • For json_encode() compatibility, all objects are encoded as JSON objects
      unless they implement Traversable and either return 0 as the first key or
      return no values at all.
    • Testing for associative arrays is now more memory efficient and fails faster.
    • JSON encoding errors now contain the error constant.
    • The visibility for StreamJsonEncoder::write() and BufferJsonEncoder::write()
      has been changed to protected (as was originally intended).
    • A new protected method AbstractJsonEncoder::getValueStack() has been added
      that returns the current unresolved value stack (for special write method
      implementations).
    • An overridable protected method AbstractJsonEncoder::resolveValue() has
      been added which is used to resolve objects (i.e. resolving the value of
      closures and objects implementing JsonSerializable).
    Open source →
    Release notes
    • For json_encode() compatibility, all objects are encoded as JSON objects unless they implement Traversable and either return 0 as the first key or return no values at all.
    • Testing for associative arrays is now more memory efficient and fails faster.
    • JSON encoding errors now contain the error constant.
    • The visibility for StreamJsonEncoder::write() and BufferJsonEncoder::write() has been changed to protected (as was originally intended).
    • A new protected method AbstractJsonEncoder::getValueStack() has been added that returns the current unresolved value stack (for special write method implementations).
    • An overridable protected method AbstractJsonEncoder::resolveValue() has been added which is used to resolve objects (i.e. resolving the value of closures and objects implementing JsonSerializable).
    Open source →
  7. v1.0.0 26 Feb 2017
    Release notes
    • Initial release
    Open source →
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive