Class: Kiba::Extend::Jobs::JsonToCsvJob

Inherits:
BaseJob
  • Object
show all
Defined in:
lib/kiba/extend/jobs/json_to_csv_job.rb

Overview

Job taking a JSON source that yields Hashes, and writing to a CSV (or other tabular) destination expecting the same headers/fields in every row

Since:

  • 4.0.0

Instance Attribute Summary

Attributes inherited from BaseJob

#context, #control, #files, #outrows, #srcrows, #transformer

Method Summary

Methods inherited from BaseJob

#initialize, #run

Methods included from Parser

#parse_job

Methods included from Runner

#add_config, #add_decoration, #add_destinations, #add_lookup, #add_sources, #assemble_control, #check_requirements, #destinations, #file_config, #handle_requirements, #lookups_to_memoized_methods, #parse_job_segments, #show_me_decoration, #sources, #tell_me_decoration, #transform

Methods included from Reporter

#desc_and_tags, #get_duration, #minimal_end, #minimal_start, #normal_end, #normal_start, #put_file_details, #report_run_end, #report_run_start, #row_report, #start_and_def, #start_label, #tags, #verbose_end, #verbose_start

Constructor Details

This class inherits a constructor from Kiba::Extend::Jobs::BaseJob