in reply to Re^4: Does the experimental builtin::stringify() do anything that scalar() doesn't ?
in thread Does the experimental builtin::stringify() do anything that scalar() doesn't ?

> A best-behaved JSON emitter would require you to denote which elements are intended to be numbers

The best-so-far JSON emitter makes it possible, but not required: Cpanel::JSON::XS::Type.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
  • Comment on Re^5: Does the experimental builtin::stringify() do anything that scalar() doesn't ?
  • Download Code