Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up spurious JSON decoding test failure | Jeremy Kemper | 2009-09-13 | 1 | -0/+2 |
| | |||||
* | Add basic JSON serializer to AMo | Joshua Peek | 2009-06-17 | 1 | -0/+1 |
| | |||||
* | Simplify json decoder backend lazy load | Jeremy Kemper | 2009-06-08 | 1 | -4/+2 |
| | |||||
* | JSON: split encoding and coercion | Jeremy Kemper | 2009-06-08 | 1 | -0/+35 |
| | |||||
* | * Add pluggable JSON backends with support for the JSON gem. [rick] | rick | 2009-04-23 | 1 | -82/+0 |
| | | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end | ||||
* | stdlib autoloads were hanging on 1.9.1 | Jeremy Kemper | 2009-04-22 | 1 | -4/+2 |
| | |||||
* | Autoload YAML and StringScanner for JSON decoding | Jeremy Kemper | 2009-04-17 | 1 | -2/+2 |
| | |||||
* | Explicit dependency on String#start_with? extension | Jeremy Kemper | 2009-03-28 | 1 | -3/+5 |
| | |||||
* | Reverted affe50105f7027a44eb6e9cfb56f5b3fc070b19b and added more JSON ↵ | Ubiratan Pires Alberton | 2009-03-11 | 1 | -1/+10 |
| | | | | | | | | | | decoding tests. Works on Ruby 1.8 and 1.9 [#1100 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove untested part from 9b9b2937ce3bef3bca9d22821e76c40cc74fa689 | Pratik Naik | 2009-03-10 | 1 | -10/+2 |
| | |||||
* | Properly decode \u escape sequences in JSON [#1100 state:resolved] [Tim ↵ | Tim Pope | 2009-03-10 | 1 | -3/+20 |
| | | | | | | Pope, Philip Hallstrom] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9 compat: fix JSON decoding to work properly with multibyte values | Akira Matsuda | 2009-02-17 | 1 | -2/+3 |
| | | | | | | [#1969 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonathan del ↵ | Pratik Naik | 2009-01-07 | 1 | -1/+1 |
| | | | | Strother] | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | remove multiple enumerations from ActiveSupport::JSON#convert_json_to_yaml ↵ | Rick Olson | 2007-12-28 | 1 | -5/+8 |
| | | | | | | when dealing with date/time values. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix JSON encoding/decoding bugs dealing with /'s. Closes #9990 [Rick, ↵ | Rick Olson | 2007-10-26 | 1 | -1/+2 |
| | | | | | | theamazingrando] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't shadow local var with block var | Jeremy Kemper | 2007-10-13 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | JSON decoding Ruby 1.9 compat. Mark a section that's unnecessarily slow. | Jeremy Kemper | 2007-09-29 | 1 | -5/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Decode json strings as Dates/Times if they're using a YAML-compatible ↵ | Rick Olson | 2007-09-24 | 1 | -5/+18 |
| | | | | | | format. Closes #9614 [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix JSON decoder with nested quotes and commas. Closes #9579. | Jeremy Kemper | 2007-09-17 | 1 | -4/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON ↵ | Sam Stephenson | 2007-03-18 | 1 | -0/+40 |
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 |