1
0
mirror of https://github.com/HariSekhon/DevOps-Bash-tools.git synced 2025-02-06 09:28:21 +00:00

updated json2yaml.sh

This commit is contained in:
Hari Sekhon 2025-02-02 20:24:09 +07:00
parent e47e487e17
commit 00ce950a81

View File

@ -46,6 +46,7 @@ json2yaml(){
# ssh_pty: !!perl/scalar:JSON::PP::Boolean 1
#
# whereas the ruby below comes out properly, so don't use Perl JSON::XS for this any more
# They ruby version below also maintains key ordering so it's a more true comparison
#
#if type -P perl &>/dev/null &&
# perl -MYAML::XS=Load -MJSON::XS=encode_json -e '' &>/dev/null; then