summaryrefslogtreecommitdiff
path: root/lib/json/pure
Commit message (Collapse)AuthorAgeFilesLines
* fix parsing of unicode, mixing literal characters with escaped, by forcing ↵Ethan2022-02-081-1/+1
| | | | encoding back to ASCII_8BIT before gsubing back into parse_string result
* Fix some typosRyuta Kamizono2021-04-261-1/+1
|
* Merge pull request #447 from Shopify/global-freeze-optionHiroshi SHIBATA2020-10-201-0/+14
|\ | | | | Implement a freeze: parser option
| * Implement a freeze: parser optionJean Boussier2020-09-151-0/+14
| | | | | | | | | | | | | | If set to true all parsed objects will be immediately frozen, and strings will be deduplicated if the Ruby implementation allows it.
* | Fix an issue with generate_pretty and empty objects in the Ruby and Java ↵Chris Seaton2020-10-071-2/+4
|/ | | | implementations
* Merge pull request #425 from marcandre/fix_pure_parserHiroshi SHIBATA2020-08-141-2/+6
|\ | | | | Fix pure parser with unclosed arrays / objects [Fix #314]
| * Fix pure parser with unclosed arrays / objects [Fix #314]Marc-Andre Lafortune2020-06-301-2/+6
| |
* | Add an option to escape forward slash characterJean Boussier2020-07-041-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 26d181059989279a79c433cedcd893b4f52e42ee Author: Francois Chagnon <francois.chagnon@jadedpixel.com> Date: Tue Sep 15 21:17:34 2015 +0000 add config options for escape_slash commit fa282334051b16df91ca097dd7304b46f3bc7719 Author: Francois Chagnon <francois.chagnon@jadedpixel.com> Date: Mon Feb 9 21:09:33 2015 +0000 add forward slash to escape character
* | Fix alignmentMarc-Andre Lafortune2020-06-301-1/+1
|/
* Merge pull request #191 from jkanywhere/spell-fixesHiroshi SHIBATA2020-06-252-2/+2
|\ | | | | Spelling and grammar fixes for comments.
| * Spelling and grammar fixes for comments.Josh Kline2013-12-282-2/+2
| |
* | Fix warning from trying to access an uninitialized ivar.Ryan Davis2019-11-271-1/+2
| | | | | | | | Signed-off-by: Ryan Davis <zenspider@chef.io>
* | Minor cleanup for ruby 2.7 warnings and failures.Ryan Davis2019-11-271-1/+9
| |
* | Merge decimal_class patch by Michael JaschobFlorian Frank2016-09-231-1/+5
| | | | | | | | | | | | Also: - Avoid some issues with bundler - Avoid some issues with jruby
* | Add frozen_string_literal: falseNobuyoshi Nakada2016-06-212-0/+2
| | | | | | | | When you change this to true, you may need to add more tests.
* | Treat ASCII_8BIT as UTF-8 by defaultFlorian Frank2016-06-031-2/+4
| |
* | Only support newer Rubies e. g. EncodingFlorian Frank2016-06-031-101/+47
| |
* | Remove quirks modeFlorian Frank2016-06-022-26/+3
| |
* | Change rfc referenceFlorian Frank2016-06-021-1/+1
| |
* | Merge branch 'v1.8'Florian Frank2016-02-251-2/+10
|\ \
| * | Check for existence of #to_json method before callFlorian Frank2016-02-251-2/+10
| |/
* | Disallow usage of symbolize_names and create_additionsFlorian Frank2015-06-151-2/+6
| |
* | Refactor tests and make pure parser greenFlorian Frank2015-06-151-34/+17
| |
* | Remove generate restriction for […]/{…}Florian Frank2015-06-131-7/+0
| |
* | Remove byte sniffing from Pure::ParserFlorian Frank2015-06-131-33/+1
| |
* | Move common setup into test_helper.rbFlorian Frank2015-06-131-2/+3
|/
* remove unnecessary ifginriki2013-04-291-1/+1
|
* Fix regex encoding problem on ruby-head, ouchFlorian Frank2013-02-221-9/+9
|
* Add test and implement pure versiongFlorian Frank2013-02-221-1/+24
|
* Try to convert first with to_hash, then to_hFlorian Frank2013-02-211-0/+7
| | | | | | | | rb_convert_type doesn't return if conversion fails, so use rb_check_convert_type and the raise vi rb_convert_type. Make sure, that this behaviour is consisten across all generator implementations. Fixes https://github.com/flori/json/issues/162
* Security fix create_additons/JSON::GenericObjectv1.7.7Florian Frank2013-02-111-4/+4
|
* Increase hash likeness of State objectsFlorian Frank2012-12-311-12/+32
|
* Increase default max_nesting to 100Erik Michaels-Ober2012-10-052-5/+5
| | | | See discussion at https://github.com/intridea/multi_json/pull/59.
* Fix string/regexp encoding mismatch in jrubyFlorian Frank2012-05-101-6/+6
|
* Use C implementation and better regexp for pureFlorian Frank2012-03-201-2/+6
|
* Extract fbuffer and use it in parser and generatorFlorian Frank2011-11-231-1/+1
|
* change documentationFlorian Frank2011-11-101-2/+2
|
* start to make buffer_initial_length configurableFlorian Frank2011-11-091-9/+20
|
* always raise type error when parsing nilFlorian Frank2011-11-031-2/+7
|
* Add some documentationv1.5.4Florian Frank2011-08-312-0/+4
|
* Merge branch 'quirks-mode-parser' into quirks-modeFlorian Frank2011-07-271-55/+87
|\ | | | | | | | | | | Conflicts: json.gemspec json_pure.gemspec
| * Implement quirks_modeFlorian Frank2011-07-271-55/+87
| | | | | | | | This allows parsing of primitive values
* | started quirks mode for generatorFlorian Frank2011-07-271-2/+15
|/
* remove trailing spaces.Nobuyoshi Nakada2011-07-082-4/+4
|
* Alias State#configure method as State#mergeFlorian Frank2011-06-201-0/+1
| | | | This increases duck type synonymy with Hash
* typo, README file extensionlorensr2011-05-111-1/+1
|
* renamed :match argument to :match_stringv1.5.0Florian Frank2011-01-051-3/+3
|
* Rubinius' strscan already has a @match ivarFlorian Frank2011-01-021-3/+3
|
* Added matching in pure/ext parserFlorian Frank2011-01-021-8/+14
|
* make sure bytes is a 8-bit string on all rubiesFlorian Frank2011-01-021-2/+7
|