Sha256: 2a8877145b1aa96c53d1375434eb24715108a39374c2a93259b724dc6e7943c9

Contents?: true

Size: 187 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
chronicle-etl-0.2.3 lib/chronicle/etl/transformers/json_transformer.rb
chronicle-etl-0.2.2 lib/chronicle/etl/transformers/json_transformer.rb
chronicle-etl-0.2.1 lib/chronicle/etl/transformers/json_transformer.rb
chronicle-etl-0.2.0 lib/chronicle/etl/transformers/json_transformer.rb