case ENV['JSON']
when 'pure'
$:.unshift 'lib'
require 'json/pure'
when 'ext'
$:.unshift 'ext', 'lib'
require 'json/ext'
else
require 'json'
end
require 'test/unit'
begin
require 'byebug'
rescue LoadError