App::NDTools - Command line tools for nested structures
Version 0.6.3
Diff, patch, process, query JSON and YAML with ease.
Human friendly and machine readable diffs.
Apply diff to the structure.
Process structure using rules and modules.
Available modules:
Insert Insert value into structure JsonMergePatch Apply JSON Merge Patch (rfc7396) patches JsonPatch Apply JSON Patch (rfc6902) patches Merge Merge structures according provided rules Patch Apply nested diff to the structure Pipe Modify structure using external process Remove Remove specified parts from structure
Examine structure and dump it's parts.
From CPAN:
cpanm App::NDTools
Build deb package:
git clone https://github.com/mr-mixas/NDTools.git cd NDTools DEBUILD_OPTS="--no-lintian -uc -us -b" make -C dist deb
Use without installation:
git clone https://github.com/mr-mixas/NDTools.git cd NDTools source ./SOURCEME # install depends to the current directory and set ENV
YAML::XS should be additionally installed for YAML support. YAML::XS 0.67 or later and JSON::PP required for correct booleans dump; 1 for true and 0 for false used for earlier YAML::XS versions.
0.67
1
0
Michael Samoglyadov, <mixas at cpan.org>
<mixas at cpan.org>
Sure, report them using https://github.com/mr-mixas/NDTools/issues
jq, json-delta
Struct::Diff, Struct::Path, Struct::Path::PerlStyle
Copyright 2016-2019 Michael Samoglyadov
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
To install App::NDTools, copy and paste the appropriate command in to your terminal.
cpanm
CPAN shell
perl -MCPAN -e shell install App::NDTools
For more information on module installation, please visit the detailed CPAN module installation guide.