#1310: JSON.parse fails with NSString -----------------------------------+---------------------------------------- Reporter: isaackearse@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- {{{ macirb --simple-prompt
require 'json' => true JSON.parse '{}' => {} JSON.parse NSString.stringWithString '{}' NoMethodError: undefined method `encode' for "{}":String
JSON.parse String NSString.stringWithString '{}' => {}
}}}
-- Ticket URL: <http://www.macruby.org/trac/ticket/1310> MacRuby <http://macruby.org/>