Open ingydotnet opened 4 years ago
★ ~/src/+pegex-parser/pegex-json-pm master $ perl -Mboolean -MYAML::XS -E 'say YAML::XS::Dump(\\\1)'
--- !!perl/ref
=: !!perl/ref
=: !!perl/ref
=: 1
★ ~/src/+pegex-parser/pegex-json-pm master $ perl -Mboolean -MYAML::XS -E 'say YAML::XS::Dump(\true)'
--- !!perl/ref
=: !!perl/scalar:boolean 1
★ ~/src/+pegex-parser/pegex-json-pm master $ perl -Mboolean -MYAML::XS -E 'say YAML::XS::Dump(\\true)'
--- !!perl/ref
=: !!perl/ref
=: !!perl/scalar:boolean 1
YAML::XS style seems better.