Sha256: d4e03bb5978c79a264f8896e99ed004c97672d7d72fa81e213e953f534799203

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

module ChartMogul
  module Utils
    class JSONParser
      def self.parse(json_string)
        hash = JSON.parse(json_string, symbolize_names: true)
        HashSnakeCaser.new(hash).to_snake_keys
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chartmogul-ruby-1.1.4 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-1.1.2 lib/chartmogul/utils/json_parser.rb