aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json.rb
Commit message (Collapse)AuthorAgeFilesLines
* Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON ↵Sam Stephenson2007-03-181-39/+22
| | | | | | decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't quote hash keys in Hash#to_json if they're valid JavaScript identifiers.Sam Stephenson2006-11-111-3/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed docsDavid Heinemeier Hansson2006-03-281-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RJS now does enumerations, baby! (closes #3876) [Rick Olson]David Heinemeier Hansson2006-03-031-1/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActiveSupport::JSON and Object#to_json for converting Ruby objects to ↵Sam Stephenson2005-12-271-0/+28
JSON strings git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de