lib/json2/csv_without_header.rb
# Creates a new CsvWithoutHeader instance.
#
# input - A Hash representing a Json file. This is typically
#         obtained with JSON.parse.
Creates a new CsvWithoutHeader instance.
input - A Hash representing a Json file. This is typically
obtained with JSON.parse.
Creates a new CsvWithoutHeader instance . input - A Hash representing a Json file . This is typically obtained with JSON . parse .
def process_keys(object)
      if object.respond_to?(:each_key)
        object.each_key do |key|
          @names_stack.push(key)
          process_key(object[key])
          @names_stack.pop
        end
      else
        record_line(object)
      end
    end
def process_keys ( object ) if object . respond_to? ( :each_key ) object . each_key do | key | @names_stack . push ( key ) process_key ( object [ key ] ) @names_stack . pop end else record_line ( object ) end end
Creates a new CsvWithoutHeader instance.
Creates a new CsvWithoutHeader instance .
object