Sha256: 9fcb1787927ec731eb40b752dbbc35ff80722bdf1b7ef8cb38eec819b14a28f9

Contents?: true

Size: 187 Bytes

Versions: 2

Compression:

Stored size: 187 Bytes

Contents

require 'json'

module Chronicle
  module Etl
    class JsonTransformer < Chronicle::Etl::Transformer
      def transform data
        return JSON.parse(data)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chronicle-etl-0.1.4 lib/chronicle/etl/transformers/json_transformer.rb
chronicle-etl-0.1.3 lib/chronicle/etl/transformers/json_transformer.rb