Files | Admin

Notes:

Release Name: 1.1.1

Notes:
Maintenance release


Changes: 2007-07-06 (1.1.1) * Yui NARUSE <naruse@airemix.com> sent some patches to fix tests for Ruby 1.9. I applied them and adapted some of them a bit to run both on 1.8 and 1.9. * Introduced a JSON.parse! method without depth checking for people who like danger. * Made generate and pretty_generate methods configurable by an options hash. * Added :allow_nan option to parser and generator in order to handle NaN, Infinity, and -Infinity correctly - if requested. Floats, which aren't numbers, aren't valid JSON according to RFC4627, so by default an exception will be raised if any of these symbols are encountered. Thanks to Andrea Censi <andrea.censi@dis.uniroma1.it> for his hint about this. * Fixed some more tests for Ruby 1.9. * Implemented dump/load interface of Marshal as suggested in ruby-core:11405 by murphy <murphy@rubychan.de>. * Implemented the max_nesting feature for generate methods, too. * Added some implementations for ruby core's custom objects for serialisation/deserialisation purposes.