aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/json
Commit message (Expand)AuthorAgeFilesLines
* systematic revision of =~ usage in ASXavier Noria2016-07-221-4/+10
* Define `Pathname#as_json`Ryunosuke Sato2016-06-251-0/+2
* Define `URI::Generic#as_json`Ryunosuke Sato2016-06-251-0/+2
* Merge pull request #23011 from arnvald/bugfix/correctly_parse_dateGodfrey Chan2016-06-251-5/+11
|\
| * Use correct timezone when parsing date in jsonGrzegorz Witek2016-01-221-5/+11
* | Fix behavior of JSON encoding for Exceptionnamusyaka2016-04-091-0/+5
|/
* Expand the JSON test coverage for Struct and Hash (?!)Godfrey Chan2015-07-111-1/+13
* Add tests to ensure we don't interfere with json gem's outputGodfrey Chan2015-07-112-102/+108
* Escape HTML entities in JSON keysRafael Mendonça França2015-06-161-0/+7
* Skip the failing tests on Rubinius for nowRobin Dupret2015-03-021-0/+2
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-032-2/+0
* Remove deprecated ActiveSupport::JSON::Encoding::CircularReferenceError.Rafael Mendonça França2015-01-041-24/+0
* Remove deprecated ActiveSupport::JSON::Encoding.encode_big_decimal_as_string=Rafael Mendonça França2015-01-041-16/+0
* Remove redundant `to_s` in interpolationclaudiob2014-10-301-1/+1
* Merge pull request #15856 from zuhao/refactor_activesupport_decoding_testYves Senn2014-06-221-11/+19
|\
| * Use with_parse_json_times helper in tests.Zuhao Wan2014-06-221-11/+19
* | Avoid hardcoded magic number in test teardown.Zuhao Wan2014-06-221-14/+19
|/
* Extract out with_env_tz helper method.Zuhao Wan2014-06-181-7/+3
* Fix #to_json for BasicObject EnumerablesSammy Larbi2014-03-141-10/+33
* Add support for JSON time_precision to Time and DateTimeAndrew White2014-01-261-1/+19
* Rename subsecond_fraction_digits option to time_precisionAndrew White2014-01-261-3/+3
* Consolidate JSON encoding tests in one fileAndrew White2014-01-261-11/+48
* Added back the `encode_big_decimal_as_string` option with warningGodfrey Chan2013-12-021-0/+16
* Be explicit and use the actual unicode sequenceGodfrey Chan2013-11-261-1/+1
* Removed the Ruby encoder and switched to using the JSON gemGodfrey Chan2013-11-261-2/+2
* Removed support for encoding BigDecimal as a JSON numberGodfrey Chan2013-11-261-11/+0
* Expanded coverage on JSON encodingGodfrey Chan2013-11-261-2/+12
* Added some failing tests where the JSON encoder is not resolving as_json corr...Godfrey Chan2013-11-261-2/+12
* When Array#as_json and Hash#as_json are called without options, theyGodfrey Chan2013-11-221-0/+16
* Improved compatibility with the stdlib JSON gem.Godfrey Chan2013-11-141-0/+45
* Standardize all JSON encoded times to use 3 decimal fractional secondsRyan Glover2013-11-071-3/+3
* Do not expose internal state in the public encoder API (i.e. as_json)Godfrey Chan2013-11-061-3/+9
* Eliminate `JSON.{parse,load,generate,dump}` and `def to_json`Godfrey Chan2013-11-051-4/+4
* Fixed Object#as_json and Struct#as_json with optionsGodfrey Chan2013-11-051-2/+27
* Raise an error when AS::JSON.decode is called with optionsGodfrey Chan2013-10-301-4/+2
* Moved all JSON core extensions into core_ext/object/jsonGodfrey Chan2013-09-131-0/+8
* Enabled quirks mode on JSON.parse, fixes broken test in af9caaeGodfrey Chan2013-09-121-1/+13
* Replace JSON.load with JSON.parse, also removed the proc parameterGodfrey Chan2013-09-111-1/+14
* Avoid defining multibyte method names in JSON decoding test for JRuby CompatGaurish Sharma2013-08-071-3/+4
* Remove active_support/json/variable was deprecated.kennyj2013-06-011-7/+0
* Fix some typo in method names, variablesVipul A M2013-05-261-1/+1
* Replace multi_json with jsonErik Michaels-Ober2013-05-111-23/+13
* Added escaping of U+2028 and U+2029 inside the json encoder.Mario Caropreso2013-05-091-2/+2
* Fixed bad tests to clean up after themselves.Ryan Davis2013-05-032-4/+15
* rewrite order dependent test case. #8185Yves Senn2012-12-271-1/+2
* Remove unicode character encoding from ActiveSupport::JSON.encodeBrett Carter2012-12-141-3/+16
* `#as_json` isolates options when encoding a hash. Closes #8182Yves Senn2012-11-121-0/+18
* Deprecate ActiveSupport::JSON::VariableErich Menge2012-08-071-0/+7
* Remove deprecated ActiveSupport::JSON::Variable.Erich Menge2012-05-301-2/+0
* True, False, and Nil should be represented in as_json as themselves.Erich Menge2012-05-291-0/+6