lib/jsonify.rb in jsonify-0.0.8 vs lib/jsonify.rb in jsonify-0.0.9
- old
+ new
@@ -1,7 +1,10 @@
-require 'json'
+begin
+ require 'json'
+rescue LoadError
+ raise "No JSON implementation found. Please install a JSON library of your choosing."
+end
require 'jsonify/blank_slate'
require 'jsonify/version'
require 'jsonify/json_value'
require 'jsonify/generate'
-require 'jsonify/builder'
-require 'benchmark'
+require 'jsonify/builder'
\ No newline at end of file