lib/json/ext.rb in json_pure-2.7.3 vs lib/json/ext.rb in json_pure-2.7.4
- old
+ new
@@ -13,12 +13,9 @@
JSON.parser = Parser
JSON.generator = JSON::Pure::Generator
else
require 'json/ext/parser'
require 'json/ext/generator'
- unless RUBY_ENGINE == 'jruby'
- require 'json/ext/generator/state'
- end
$DEBUG and warn "Using Ext extension for JSON."
JSON.parser = Parser
JSON.generator = Generator
end
end