in reply to
Can I prevent JSON encode from converting values
Does
{ $var => sprintf("%.01f",$var) }
solve all possible cases?
Sorry if my advice was wrong.
Comment on
Re: Can I prevent JSON encode from converting values
Download
Code
In Section
Seekers of Perl Wisdom