aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/ts_isolated.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-04-26 19:32:23 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-04-26 19:55:39 -0700
commitc1d73270717f30498f8f4d55d6695509107c2834 (patch)
tree88529812e5afe3cb15e60da2bc3fa67d3f4b09e4 /activesupport/test/ts_isolated.rb
parent43e2fd93b4fa92ca23d8bc8e68e1bf5a94038461 (diff)
downloadrails-c1d73270717f30498f8f4d55d6695509107c2834.tar.gz
rails-c1d73270717f30498f8f4d55d6695509107c2834.tar.bz2
rails-c1d73270717f30498f8f4d55d6695509107c2834.zip
JSON: encode objects that don't have a native JSON representation using to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings.
Diffstat (limited to 'activesupport/test/ts_isolated.rb')
0 files changed, 0 insertions, 0 deletions