Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Json Machine Laravel Package

halaxa/json-machine

Efficiently parse huge JSON files and streams in PHP with low memory usage. json-machine provides an iterator-style API for incremental decoding of arrays/objects, supports JSON Lines and custom pointers/paths, and works great for imports and ETL tasks.

View on GitHub
Deep Wiki
Context7
1.2.6

See CHANGELOG for changes and release notes.

1.2.5

See CHANGELOG for changes and release notes.

1.2.4

See CHANGELOG for changes and release notes.

1.2.3

See CHANGELOG for changes and release notes.

1.2.2

See CHANGELOG for changes and release notes.

1.2.1

See CHANGELOG for changes and release notes.

1.2.0

See CHANGELOG for changes and release notes.

1.1.5

See CHANGELOG for changes and release notes.

1.1.4

See CHANGELOG for changes and release notes.

1.1.3

See CHANGELOG for changes and release notes.

1.1.2

See CHANGELOG for changes and release notes.

1.1.1

See CHANGELOG for changes and release notes.

1.1.0

See CHANGELOG for changes and release notes.

1.0.1

See CHANGELOG for changes and release notes.

1.0.0

See CHANGELOG for changes and release notes.

0.8.0

See CHANGELOG for changes and release notes.

0.8.0-BETA2

Further performance and code improvements. See the CHANGELOG. Please leave your comments in the 0.8.0-BETA discussion.

0.8.0-BETA

See the CHANGELOG. Please leave your comments in the 0.8.0-BETA discussion.

0.7.1

See CHANGELOG for changes and release notes.

0.7.0

See CHANGELOG for changes and release notes.

0.6.1

See CHANGELOG for changes and release notes.

0.6.0

See CHANGELOG for changes and release notes.

0.5.0

See CHANGELOG for changes and release notes.

0.4.1

See CHANGELOG for changes and release notes.

0.4.0

See CHANGELOG for changes and release notes.

0.3.3

New Features (1)

Minor feature: JsonMachine::fromIterable() - an alias to constructor, but emphasizing the fact that an iterable can be a source of json data. Very handy in conjunction with Symfony HttpClient and new httpClientChunks helper. See example in src/examples. Also PHP 7.4 support

Bug Fixes (3)

#6, thanks @Mwisho #14, thanks @formatz #19, thanks @LaravelFreelancerNL

BC breaks (0)

0.3.2

New Features (0)

Bug Fixes (1)

#9 Fixed json parsing with "\\" at the end of a string. Thanks, @marenkov.

BC breaks (0)

0.3.1

New Features (3)

Docker: Each PHP docker image has xdebug installed Docker: Testing script tries to pull the newest image of each supported php version Docker: Updated PHP 7.3 version to stable

Bug Fixes (4)

Json pointer was failing when iterated subtree was not the first at its level #7. Thanks, @rybakit. Fixed json_decode call on performace test to return array same as JsonMachine Got rid of the quiet dependency on local ./composer binary Reworded guzzle example #3. Thanks, @Mwisho.

BC breaks (2)

Only lower case of null, true and false is allowed - was non standard and shouldn't affect anyone Support for + sign in front of positive number was dropped - was non standard and shouldn't affect anyone

0.3.0

New Features (1)

  • JsonMachine::fromString now consumes about 4× less memory than previous version, by utilizing PHP's copy on write behaviour. JSON string is not copied anymore - only iterated over.

Bug Fixes (0)

BC breaks (1)

  • Internal: Constructor signature of Lexer has changed. It newly requires \Traversable instead of a stream resource. It doesn't affect public JsonMachine API.
v0.2.1

License, readme and logo changes.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport