From: shyouhei@... Date: 2017-04-13T06:20:32+00:00 Subject: [ruby-core:80675] [Ruby trunk Bug#13430][Rejected] JSON.parse(nil.to_json) throws exception. Issue #13430 has been updated by shyouhei (Shyouhei Urabe). Status changed from Open to Rejected I believe recent version (>= 2.0.0 maybe?) of that library does accept "null" and renders nil. Try upgrading your library. ---------------------------------------- Bug #13430: JSON.parse(nil.to_json) throws exception. https://bugs.ruby-lang.org/issues/13430#change-64204 * Author: ruby-has-bugs (John McMack) * Status: Rejected * 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: