From: johnmcmack@... Date: 2017-04-12T18:31:32+00:00 Subject: [ruby-core:80669] [Ruby trunk Bug#13430] JSON.parse(nil.to_json) throws exception. Issue #13430 has been reported by ruby-has-bugs (John McMack). ---------------------------------------- Bug #13430: JSON.parse(nil.to_json) throws exception. https://bugs.ruby-lang.org/issues/13430 * Author: ruby-has-bugs (John McMack) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-darwin16] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Perhaps JSON.parse("null") should return nil instead of throwing an exception. That's just stupid. -- https://bugs.ruby-lang.org/ Unsubscribe: