Download the PHP package cline/json without Composer
On this page you can find all versions of the php package cline/json. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package json
json
Memory-efficient pull parser for large JSON sources in Laravel and PHP applications.
Requirements
- PHP 8.5+
Installation
Quick Example
Documentation
- Consumer guide: USAGE.md
- Benchmarking guide: BENCHMARK.md
Supported API Surface
The stable, consumer-facing API is centered on:
Cline\Json\JsonParser- the
parseJson()helper - string-based pointer selection through
pointer(),pointers(),lazyPointer(), andlazyPointers() - decoder customization through
Cline\Json\Decoders\Decoder,JsonDecoder, andSimdjsonDecoder - package exceptions that implement
Cline\Json\Exceptions\JsonParserException
Lazy traversal may yield nested Cline\Json\Tokens\Parser instances.
That nested parser type is part of the lazy traversal contract.
Lower-level namespaces such as Concerns\*, ValueObjects\*,
Sources\StreamWrapper, Sources\JsonResource, and most token support
classes exist for implementation and integration purposes. They are
autoloaded, but they are not the primary consumer API this package
optimizes around.
Benchmarks
The package ships with throughput and memory benchmarks. See BENCHMARK.md for when to use eager decode, eager parser materialization, and lazy/selective traversal.
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
- Brian Faust
- All Contributors
License
The MIT License. Please see License File for more information.
All versions of json with dependencies
guzzlehttp/guzzle Version ^7.10
illuminate/http Version ^10.0 || ^11.0 || ^12.0 || ^13.0
psr/http-message Version ^2.0