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:
parent
e47e487e17
commit
00ce950a81
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user