This project is archived and is in readonly mode.
Changeset [c1d73270717f30498f8f4d55d6695509107c2834] by Jeremy Kemper
April 27th, 2010 @ 03:55 AM
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.
http://github.com/rails/rails/commit/c1d73270717f30498f8f4d55d66955...
Committed by Jeremy Kemper
- M activesupport/CHANGELOG
- M activesupport/lib/active_support/json/encoding.rb
- M activesupport/test/json/encoding_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>