in reply to Re: Can I prevent JSON encode from converting values
in thread Can I prevent JSON encode from converting values

JSON (and Javascript for that matter) distinguishes between integers and strings; it's Perl that does not.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re^2: Can I prevent JSON encode from converting values