Sha256: f3db75cf75493bc1fbc75ff74fb71ab0ce69c15f0562030cd52ed0e6940d39fb

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 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

1 entries across 1 versions & 1 rubygems

Version Path
chartmogul-ruby-1.1.5 lib/chartmogul/utils/json_parser.rb