# File lib/rhc/json.rb, line 7 def self.decode(string, options={}) string = string.read if string.respond_to?(:read) result = RHC::Vendor::OkJson.decode(string) options[:symbolize_keys] ? symbolize_keys(result) : result end