Download the PHP package boundwize/jsonrecast without Composer
On this page you can find all versions of the php package boundwize/jsonrecast. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download boundwize/jsonrecast
More information about boundwize/jsonrecast
Files in boundwize/jsonrecast
Download boundwize/jsonrecast
More information about boundwize/jsonrecast
Files in boundwize/jsonrecast
Vendor boundwize
Package jsonrecast
Short Description Editable JSON AST with visitor traversal and formatting-preserving printing.
License MIT
Homepage https://github.com/boundwize/jsonrecast
Package jsonrecast
Short Description Editable JSON AST with visitor traversal and formatting-preserving printing.
License MIT
Homepage https://github.com/boundwize/jsonrecast
Please rate this library. Is it a good library?
Informations about the package jsonrecast
JsonRecast
Editable JSON AST with visitor traversal and formatting-preserving printing.
Edit JSON content without noisy diffs
- Update JSON content programmatically and keep the original indentation, spacing, and key order intact.
- Transform documents with visitors, inspired by nikic/PHP-Parser, with path awareness built in.
- The printed output differs from the input only where you made changes; nothing else is reformatted.
Installation
Example
Say we want to bump a dependency, add a new one, and remove an entry in composer.json. With JsonRecast, a single visitor does all three:
Anything the visitor didn't touch keeps its original indentation, key order, and alignment.
Documentation
Documentation is available online, with source files kept in this repository:
- Documentation site: https://boundwize.github.io/jsonrecast/
- Documentation source: docs/ for local edits and GitHub Pages publishing.
All versions of jsonrecast with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package boundwize/jsonrecast contains the following files
Loading the files please wait ...