Data::Dumper is a debugging tool, not necessarily appropriate for serialization, especially not for JSON.
See the documentation of JSON::MaybeXS: JSON->true and JSON->false will give you boolean values.
In reply to Re^5: Converting hash into js object properties
by haukex
in thread Converting hash into js object properties
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |