GitHub / ruby/json / commits
JSON implementation for Ruby
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 38c9ab06 | Update CHANGES.md for clarity and consistency |
Brandon Hicks <t****l@u****m>
Committed by: Jean Boussier <j****r@g****m> |
4 days ago | |
| 4f89162e | Relase 3.0.0.rc1 |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
4 days ago | |
| 4816cab1 | Get rid of JSON::JSON_LOADED |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
4 days ago | |
| 79244983 | Prepare 3.x release notes |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
4 days ago | |
| 4ddc0923 | Add Ractor compatibility tests for JSON.load and JSON.dump |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
5 days ago | |
| 6e668d2c | Remove the `limit` positional argument of `JSON.dump`. |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
5 days ago | |
| 2aa6ecb4 | Remove `escape_slash` |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
5 days ago | |
| a8d7f6da | Make generator options strict |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
5 days ago | |
| a8be79a4 | Move coverage report path to .coverage | Jean Boussier <b****t@r****g> | 5 days ago | |
| ebf0f290 | Make parsing options keyword arguments |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
5 days ago | |
| 0708dd2b | Update CHANGES.md |
Jean Boussier <j****r@g****m>
Committed by: GitHub <n****y@g****m> |
8 days ago | |
| 0238abca | Widen the json_decode_integer fast path to more 64-bit integers. |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
9 days ago | |
| 5a32e436 | Release 2.21.2 | Jean Boussier <b****t@r****g> | 15 days ago | |
| 2c332bfe | Also don't compute ResumableParser cursor position for warning |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
16 days ago | |
| 5499aa54 | Improve max_nesting documentation | Jean Boussier <b****t@r****g> | 17 days ago | |
| e93e5d64 | Remove JSON.fast_generate |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| 273b38d8 | Remove JSON::GenericObject |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| 1f65fe1c | Remove `create_additions` option |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| dfffed72 | Remove PRETTY_STATE_PROTOTYPE |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| 545a2ed8 | Remove deprecated JSON.dump aliases |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| c1d78411 | Remove `JSON::State#[]` and `JSON::State#[]=` |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| e8f34a8f | Remove `default_options` singleton accessors |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| bc24969d | Make `allow_comments: false` the default |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| e7636af6 | Make `allow_duplicate_key: false` the default |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| 3df73536 | Remove `j` and `jj` |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
19 days ago | |
| 499d9bcf | Fix the parser benchmark bytes report | Jean Boussier <b****t@r****g> | 20 days ago | |
| f5fc2454 | Pass '-mno-outline' to the compiler (if supported) to prevent function outlin... |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
26 days ago | |
| fd61def3 | Release 2.21.1 | Jean Boussier <b****t@r****g> | about 1 month ago | |
| db70b143 | Rely on Ruby's HAVE_BUILTIN___BUILTIN_CLZLL |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 1 month ago | |
| 9be0e8ed | Release 2.21.0 | Jean Boussier <b****t@r****g> | about 1 month ago | |
| d1299d42 |
Avoid re-decoding an incomplete number on every ResumableParser chunk
Co-authored-by: Claude Opus 4.8 <n****y@a****m> |
Masataka Pocke Kuwabara <k****a@p****e>
Committed by: Jean Boussier <j****r@g****m> |
about 1 month ago | |
| cc010c46 |
Fix ResumableParser losing tokens before a feed-boundary suspension
Co-authored-by: Claude Opus 4.8 <n****y@a****m> |
Masataka Pocke Kuwabara <k****a@p****e>
Committed by: Jean Boussier <j****r@g****m> |
about 1 month ago | |
| 0864e837 |
Add JSON::ResumableParser#partial_value? and #empty?
Co-authored-by: Claude Fable 5 <n****y@a****m> |
Shizuo Fujita <f****a@c****m>
Committed by: Jean Boussier <j****r@g****m> |
about 1 month ago | |
| 9dbfeb83 |
Fix ResumableParser treating unterminated line comments as complete
Co-authored-by: Claude Opus 4.8 <n****y@a****m> |
Masataka Pocke Kuwabara <k****a@p****e>
Committed by: Jean Boussier <j****r@g****m> |
about 1 month ago | |
| 94c1af25 |
Fix ResumableParser#partial_value SEGV on incomplete nested containers
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
tompng <t****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| faa5572b | Fix a few inconsistencies in readme |
Andrey Sobolev <a****e@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 724eddae | Avoid Float out of range warning for clearly underflowing numbers |
copilot-swe-agent[bot] <1****t@u****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 168095cc | Fix unused-but-set-global warnings in clang-23 |
Nobuyoshi Nakada <n****u@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| e1ee4b0e | Fix wrong call-seq for `JSON::ResumableParser#eos?` |
Sutou Kouhei <k****u@c****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| ea008e82 |
Add a `sort_keys` option to the generator.
Co-authored-by: Jean Boussier <b****t@r****g> |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| fa69e94b | Declare types as RUBY_TYPED_THREAD_SAFE_FREE |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 13162921 | Release 2.20.0 | Jean Boussier <b****t@r****g> | about 2 months ago | |
| 1443265c | Remove useless executable bits | Nobuyoshi Nakada <n****u@r****g> | about 2 months ago | |
| 532065c2 |
Preserve UTF-8 encoding when reallocating a frozen ResumableParser buffer
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
Masataka Pocke Kuwabara <k****a@p****e>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 7c8af4b9 | Update extconf.rb guard to use RUBY_ENGINE_VERSION |
Benoit Daloze <e****p@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 2afd1a9a | Cleanup the `rb_catch_obj` workaround |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 98925145 | Simplify parser_config_init | Jean Boussier <b****t@r****g> | about 2 months ago | |
| b30a8f85 | ResumableParser: eagerly drop the buffer when reaching EOS |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| f08c6633 | ResumableParser: accept only keyword arguments |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 181396ca | Don't omit `test_parse_error_snippet` on TruffleRuby | Jean Boussier <b****t@r****g> | about 2 months ago | |
| 9d8efcb0 | Workaround TruffleRuby buggy `rb_catch_obj` implementation |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 4bd1e9bc | ResumableParser: use throw rather than raise for handled EOS |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| b2372115 | ResumableParser: Don't compute lines and columns on parse error |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 21c2bbea | Implement ResumableParser#parsed_bytes |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 97b2eee9 | Remove reference to ragel | Jean Boussier <b****t@r****g> | about 2 months ago | |
| 1676fc01 |
Bump actions/checkout from 6 to 7
Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 46aa46d3 | Read ASCII-incompatible strings in binary mode | Nobuyoshi Nakada <n****u@r****g> | about 2 months ago | |
| e954a6fe | Update the json_minefield_parser_test.rb to remove JRUBY_PENDING as the new J... |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 004a5c1f | Refactor ResumableParser |
Jean Boussier <b****t@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 65549acb |
ResumableParser#parse: don't swallow other parsers errors
Co-authored-by: Yusuke Endoh <m****e@r****g> |
Jean Boussier <j****r@g****m> | about 2 months ago | |
| 3650e2bf |
Document that JSON::ResumableParser does not bound its buffer size
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
Yusuke Endoh <m****e@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 82b6b213 |
Fix off-by-one line number in parse error messages
Co-authored-by: Jean Boussier <j****r@g****m> |
Yusuke Endoh <m****e@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 56d16deb |
Reset all per-parse state in JSON::ResumableParser#clear
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
Yusuke Endoh <m****e@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| d91b370b |
Fix JSON::ResumableParser stalling on a NUL byte
Co-authored-by: Jean Boussier <j****r@g****m> |
Yusuke Endoh <m****e@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 489b8c13 |
Forbid JSON::ResumableParser#<< while the parser is in use
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
Yusuke Endoh <m****e@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 3927c5ca |
Fix JSON::ResumableParser#parse leaking the in_use lock on an empty buffer
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
Yusuke Endoh <m****e@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| e5fa06aa |
Fix heap-use-after-free in JSON::ResumableParser#partial_value
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
Yusuke Endoh <m****e@r****g>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 5973ecf2 | Vendor tests from https://github.com/nst/JSONTestSuite | Jean Boussier <j****r@g****m> | about 2 months ago | |
| a842a5c1 | Undo the pre-sizing of the RubyHash in decodeObject for compatablity with JRu... |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 05bfcb8e | Simplify the fast-path plain string building. |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| bbe22dba | Add Ryu.class to the jar file. |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 11ed6943 | ResumableParser#<<: call rb_str_modify before shrinking the buffer | Jean Boussier <j****r@g****m> | about 2 months ago | |
| 85ab2784 | Use jruby_new_parser parseNumbers |
Thomas E. Enebo <t****o@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| 525ffbc9 | Presize the RubyHash when decoding an object. |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
about 2 months ago | |
| cdad7dfb | fast_float_parser.h: fix GCC 8 support | Jean Boussier <j****r@g****m> | about 2 months ago | |
| 97dda650 | fast_float_parser.h: handle `__has_builtin` not being defined | Jean Boussier <j****r@g****m> | about 2 months ago | |
| 2203b8dc | fast_float_parser.h: copy `nlz_int64` from the bigdecimal gem | Jean Boussier <j****r@g****m> | about 2 months ago | |
| 8d2a1ff5 | fast_float_parser.h: handle more environments | Jean Boussier <j****r@g****m> | about 2 months ago | |
| 34bc289d | fast_float_parser.h: handle `__has_builtin` not being defined | Jean Boussier <j****r@g****m> | 2 months ago | |
| 27009f62 | parser.c: Refactor `start` pointers | Jean Boussier <j****r@g****m> | 2 months ago | |
| 24a2b083 | ResumableParser: Reset err_info on EOS errors | Jean Boussier <j****r@g****m> | 2 months ago | |
| 68bcf605 | Update Changelog | Jean Boussier <j****r@g****m> | 2 months ago | |
| c171e349 | fast_float_parser.h: add portable __builtin_clzll | Jean Boussier <j****r@g****m> | 2 months ago | |
| 02346d82 | ResumableParser#partial_value avoid mutating the stacks | Jean Boussier <j****r@g****m> | 2 months ago | |
| 4185ef1a | Replace Ryu with a C99 port of fast_float | Jean Boussier <j****r@g****m> | 2 months ago | |
| 2b908f6f | Implement JSON::ResumableParser | Jean Boussier <j****r@g****m> | 2 months ago | |
| 9c76e3a4 | Ported the parser.c to the java extension and remove the dependency on ragel. |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
2 months ago | |
| 53f9d990 | Merge 2.19.9 changes | Jean Boussier <j****r@g****m> | 2 months ago | |
| 996bac68 | generator.c: don't start with a stack buffer in IO case | Jean Boussier <j****r@g****m> | 2 months ago | |
| 8144d4cb | Suppres the warning for comment in JSON | Nobuyoshi Nakada <n****u@r****g> | 2 months ago | |
| 8972c6da | parser.c: Precompute JSON::ParserError and ivar IDs | Jean Boussier <j****r@g****m> | 2 months ago | |
| 138b9a2c | Deprecate default support of JavaScript comments in the parser | Jean Boussier <j****r@g****m> | 2 months ago | |
| 8d7f975b | Mark JSON_Parser_frame_stack_type as WB protected | Jean Boussier <j****r@g****m> | 2 months ago | |
| bbcf0a32 | Compile UNREACHABLE_RETURN into `rb_bug` when in debug mode | Jean Boussier <j****r@g****m> | 2 months ago | |
| 64444176 | Add note explaining why rvalue_stack is not WB_PROTECTED | Jean Boussier <j****r@g****m> | 2 months ago | |
| ad6b9cff | json_parse_any: eliminate the loop and switch | Jean Boussier <j****r@g****m> | 2 months ago | |
| 7b284d4c | ALWAYS_INLINE for json_match_keyword() |
Benoit Daloze <e****p@g****m>
Committed by: Jean Boussier <j****r@g****m> |
2 months ago | |
| 65904e88 | parser.c: refactor json_push_value / json_value_completed | Jean Boussier <j****r@g****m> | 2 months ago | |
| b07f74bd | parser.c: Extract json_match_keyword | Jean Boussier <j****r@g****m> | 2 months ago | |
| 887274e6 | Reorder the json_frame_type and json_frame_phase enum to simplify the transit... |
Scott Myron <s****n@g****m>
Committed by: Jean Boussier <j****r@g****m> |
2 months ago |