Module: JSONCSVConverter

Defined in:
lib/json_csv_converter.rb,
lib/json_csv_converter/csv.rb,
lib/json_csv_converter/version.rb,
lib/json_csv_converter/converter.rb

Defined Under Namespace

Classes: Converter

Constant Summary collapse

VERSION =
"0.2.0"

Instance Method Summary collapse

Instance Method Details

#json_to_csv(json, csv, mapping, options = {}) ⇒ Object



11
12
13
# File 'lib/json_csv_converter.rb', line 11

def json_to_csv json,csv,mapping,options={}
  Converter.new(json,csv,mapping,options).json_to_csv.csv_table
end