json-cli icon indicating copy to clipboard operation
json-cli copied to clipboard

JSON command-line swiss knife: diff, reordering, patch, pointer, validator, codegen

Results 4 json-cli issues
Sort by recently updated
recently updated
newest added

composer require swaggest/json-cli Info from https://repo.packagist.org: #StandWithUkraine Using version ^1.11 for swaggest/json-cli ./composer.json has been updated Running composer update swaggest/json-cli Loading composer repositories with package information Updating dependencies Your requirements...

I would love to see a 3-way diff: `json-cli threewaydiff base.json left.json right.json` And to get a combined patch for non-conflicting changes: ``` [ {"value":4,"op":"test","path":"/key1/0"}, {"value":5,"op":"replace","path":"/key1/0"}, {"op":"remove","path":"/key2"}, {"op":"remove","path":"/key3/sub0"}, {"value":"a","op":"test","path":"/key3/sub1"}, {"value":"c","op":"replace","path":"/key3/sub1"},...

I think this package needs to update the dependances because symfony/yaml is old. I saw some forks with "symfony/yaml": "^3|^4|^5", which I think makes it compatible with more projects.