summaryrefslogtreecommitdiff
path: root/tests/test_json.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add JSON::GenericObjectFlorian Frank2012-04-281-4/+4
|
* Throw exception unless source is a stringFlorian Frank2012-04-271-0/+2
|
* Rename test names according to fileFlorian Frank2012-04-271-1/+1
|
* Add implementation for a light objectFlorian Frank2012-04-271-0/+10
|
* Clean up code a bitFlorian Frank2012-02-111-3/+3
| | | | This should fix #117
* Support duck typed ruby array in JRuby as wellFlorian Frank2011-12-201-1/+29
|
* Support object class with duck type hashFlorian Frank2011-12-201-1/+24
|
* Small fix: JSON.load('') # => nilFlorian Frank2011-12-011-0/+1
|
* Make JSON.dump and JSON.load support Rails betterFlorian Frank2011-11-221-1/+14
|
* always raise type error when parsing nilFlorian Frank2011-11-031-0/+2
|
* Implement quirks_modeFlorian Frank2011-07-311-0/+36
| | | | This allows parsing of primitive values
* remove trailing spaces.Nobuyoshi Nakada2011-07-081-1/+1
|
* should not modify argumentNobuyoshi Nakada2011-07-081-0/+6
| | | | | * ext/json/ext/parser/parser.h (FORCE_UTF8): should not modify encoding of the argument.
* re-initialize testNobuyoshi Nakada2011-07-081-2/+4
| | | | * tests/test_json.rb (test_allocate): add re-initialize test.
* * ext/json/ext/parser/parser.h (GET_PARSER): raise TypeError.nobu2011-07-071-0/+7
| | | | | | * ext/json/ext/parser/parser.rl (cParser_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix duplicate testFlorian Frank2011-05-121-39/+19
|
* Don't optimize calls for ducktypesFlorian Frank2011-05-121-0/+29
|
* If a custom :object_class is given, the C extension should not use ↵Jon Leighton2011-05-111-2/+12
| | | | rb_hash_aset - it should call the object's []= method instead.
* fixed test setupFlorian Frank2011-01-021-5/+1
|
* Revert "use method dispatch for generation again"Florian Frank2010-08-051-6/+39
| | | | | | | | This reverts commit 59eab2b7ad1b44dc424fb3fffa5520947f7360f3. Conflicts: ext/json/ext/generator/generator.c
* Revert "use method dispatch for generation again"Florian Frank2010-08-051-29/+7
| | | | This reverts commit f0a14faf1d59a5ea86a79d3a5780e8433bfc9e16.
* use method dispatch for generation againFlorian Frank2010-08-031-7/+29
|
* Fix for subclassed core classes, github issue 20v1.4.3Florian Frank2010-05-051-1/+22
| | | | | Fixed a problem in the 1.4.x versions, that caused subclasses of core classes to miss calling their to_json methods.
* Fixed T_FIXNUM bug on 64bit architectures.v1.4.1Florian Frank2010-04-251-0/+13
|
* implemented symbolize_names feature, #8Florian Frank2009-11-251-0/+7
|
* use Array#permutation if it existsv1.2.0Florian Frank2009-10-261-12/+20
| | | | | otherwise create a Array#permutation method with the permutation gem on the fly
* added additional checks for generate methodsFlorian Frank2009-10-161-5/+5
|
* initial commitFlorian Frank2009-08-241-0/+312