parse_clean(source, opts = {})click to toggle source
Force JSON.parse to symbolize names @param [String] source the raw JSON string @param [Hash] opts any further options for JSON.parse @return [Hash] the parsed JSON content
# File lib/wire.rb, line 26defself.parse_clean(source, opts = {})
opts[:symbolize_names] = trueparse(source, opts)
end