8000 Support writing object records · Issue #5 · koles/ya-csv · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support writing object records #5
Open
@izuzak

Description

@izuzak

Hi,

The CsvWriter object should support two additional options:
a) an option that defines the column names of objects to be written with writeRecord (e.g. { columnNames : ["name", "age"] } ).
b) an option that defines whether the column names should be written to the output as a first line (e.g. {columnsAsHeader : true} ).

This way, CsvWrite could be used to write objects (dictionaries) instead of just arrays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0