Sha256: 4a43f4814ad35fef320d54b785993b9bec15831b2668b918821c5d588eb0ec8b

Contents?: true

Size: 226 Bytes

Versions: 10

Compression:

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

10 entries across 10 versions & 1 rubygems

Version Path
chartmogul-ruby-1.1.3 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-1.1.1 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-1.1.0 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-1.0.2 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-1.0.1 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-1.0.0 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-0.1.4 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-0.1.3 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-0.1.2 lib/chartmogul/utils/json_parser.rb
chartmogul-ruby-0.1.1 lib/chartmogul/utils/json_parser.rb