X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=lib%2Fmcollective%2Fvendor%2Fjson%2Flib%2Fjson%2Fpure.rb;fp=lib%2Fmcollective%2Fvendor%2Fjson%2Flib%2Fjson%2Fpure.rb;h=dbac93cf60e913a53d0e79ea5ed38783c867b16b;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/lib/mcollective/vendor/json/lib/json/pure.rb b/lib/mcollective/vendor/json/lib/json/pure.rb new file mode 100644 index 0000000..dbac93c --- /dev/null +++ b/lib/mcollective/vendor/json/lib/json/pure.rb @@ -0,0 +1,15 @@ +require 'json/common' +require 'json/pure/parser' +require 'json/pure/generator' + +module JSON + # This module holds all the modules/classes that implement JSON's + # functionality in pure ruby. + module Pure + $DEBUG and warn "Using Pure library for JSON." + JSON.parser = Parser + JSON.generator = Generator + end + + JSON_LOADED = true unless defined?(::JSON::JSON_LOADED) +end