General

Profile

j.spanjers (Jan-Joost Spanjers)

  • Login: j.spanjers
  • Registered on: 01/11/2020
  • Last sign in: 01/11/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

01/12/2020

07:19 PM Ruby Feature #16502: Add option :allow_trailing_comma to JSON#parse
mame (Yusuke Endoh) wrote:
> The json library has another upstream repository: https://github.com/flori/json
> ...
Thank you for your feedback. I have created a new pull request (https://github.com/flori/json/pull/401) upstream.
j.spanjers (Jan-Joost Spanjers)

01/11/2020

02:43 PM Ruby Feature #16502 (Closed): Add option :allow_trailing_comma to JSON#parse
Hello everyone,
I'd like to be able to parse JSON sources that contain trailing commas in arrays and/or objects.
For example,
``` ruby
> JSON.parse('[1,2,3,]')
JSON::ParserError: 416: unexpected token at ']'
```
I have c...
j.spanjers (Jan-Joost Spanjers)

Also available in: Atom