summaryrefslogtreecommitdiff
path: root/lib/json/add
Commit message (Collapse)AuthorAgeFilesLines
* Complex and Rational is embedded classes nowHiroshi SHIBATA2020-11-122-2/+0
|
* Pass args all #to_json in json/add/*.Sho Hashimoto2019-04-294-8/+8
|
* Fix a typo.Sho Hashimoto2019-02-211-1/+1
|
* JSON marshalling support for Set and SortedSetJosh Kline2017-10-041-0/+29
|
* Correct documentation of OpenStruct.json_createKouhei Yanagita2016-08-301-1/+1
|
* Add frozen_string_literal: falseNobuyoshi Nakada2016-06-2113-0/+13
| | | | When you change this to true, you may need to add more tests.
* Append newline at EOFNobuyoshi Nakada2016-06-211-1/+1
|
* Remove comments from core classes in json/addMarcus Stollsteimer2016-04-259-9/+0
|
* ReindentedFlorian Frank2015-01-021-7/+6
|
* Document `Rational` json generation methods.Vipul A M2015-01-021-4/+10
|
* Document `Complex` json generation methods.Vipul A M2015-01-021-1/+7
|
* Use method_defined? to check if method exists instead of slower check on ↵Vipul A M2015-01-021-1/+1
| | | | instance_methods
* BigDecimal DocumentationZachary Scott2012-11-091-0/+7
|
* Work around jruby's inconsistent Time implement.Florian Frank2012-05-101-1/+4
|
* Merge branch 'master' of https://github.com/jpartlow/json into jpartlow-masterFlorian Frank2011-11-221-2/+2
|\
| * Fix for Time.json_create ensures == Time instances for roundtrip through ↵Josh Partlow2011-11-181-2/+2
| | | | | | | | JSON serialization in Ruby 1.9.2.
* | Add support for OpenStructFlorian Frank2011-11-211-0/+31
|/
* Add support for BigDecimal numbersFlorian Frank2011-10-021-0/+21
|
* Extract utils out of this library into json-utilsv1.6.0Florian Frank2011-09-131-1/+1
|
* Split all implementations into single filesFlorian Frank2011-09-129-241/+273
| | | | | This way it's easier to create one's own serialisations by picking just the desired ones and mixing them with one's own implementations.
* Move rational and complex additions in own filesFlorian Frank2011-08-303-38/+44
| | | | | | | | | Also do not require Ruby's complex.rb and rational.rb if the top level constants are already defined. This means Ruby 1.9 implementations are extendend, but Ruby 1.8 implementations will require rational/complex before they are extended. Having rational and complex additions in their own files is an especially good thing, if one wants to avoid loading complex and rational under Ruby 1.8.
* Add (de-)serialisation methods f. Complex/RationalFlorian Frank2011-08-251-2/+40
|
* delete after having been obsoletedFlorian Frank2011-07-251-8/+0
|
* remove trailing spaces.Nobuyoshi Nakada2011-07-081-7/+7
|
* Define as_json methods, so rails can make objectsFlorian Frank2011-06-201-41/+106
|
* Apply patch by Cory Monty <cory.monty@gmail.com>.Florian Frank2011-06-091-4/+35
|
* Fix for ruby 1.9 const_defined? methodFlorian Frank2011-01-011-2/+1
| | | | | | ruby 1.9 breaks backwards compatibility by usіng the wrong default value for its newly introduced second argument. This patch implements a work around, to make this gem work on both ruby 1.8 and 1.9.
* obsoleted json/add/rails definitionsFlorian Frank2011-01-011-54/+4
|
* serialise symbols in add/coreFlorian Frank2009-12-031-0/+13
|
* Make json/add/[core|rails].rb respect JSON.create_idSebastian Cohnen2009-11-182-9/+9
|
* initial commitFlorian Frank2009-08-242-0/+193