Shannon -jj Behrens
Senior Software Engineer · Not a member
Shannon -jj Behrens's latest activity
Friday, December 11 2009
3345
to_json does not escape unicode characters
was updated
in Ruby on Rails
-
Shannon -jj Behrens commented at 1:36 AMOk, wow, let me try that again:
ActiveSupport::JSON.decode("[1]") produces [1] # A list.
ActiveSupport::JSON.decode("[1]") produces "[1]" # A string.
The seco...
-
Shannon -jj Behrens commented at 1:34 AMI think I stumbled across the same issue.
$ ./script/console Loading development environment (Rails 2.3.5)
ActiveSupport::JSON.decode("[1]") => [1] ActiveSupp...