The first one is a string, the second a (malformed) hash.
I'd say { Hello => 1} does the same.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Need same JSON response from Mojo & CGI::App
by LanX
in thread Need same JSON response from Mojo & CGI::App
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |