Skip to content

Paginated conversion ?  #234

Open
Open
@salimdriai

Description

@salimdriai

Background Information

  • Module Version: 4.0.0
  • Node/Browser Version: 18

The issue I'm reporting is with:

  • json2csv
  • csv2json

I have...

  • searched to see if an issue has already been reported.
  • verified that my JSON/CSV data is valid (using something like http://jsonlint.com or https://csvlint.io/).
  • tried upgrading to the latest version of json-2-csv (since the issue may already be fixed).

Expected Behavior

Convert specific number of lines, and ability to select a range something like paginated conversion .

Actual Behavior

There is no way to achieve that i think ?

Data Sample

CSV:

h1, h2, h3
c1, c2, c3,
b1, b2, b3,
f1, f2, f3,
d1, d2, d3,

convert only second line

JSON:

{
"h1": "b1",
"h2": "b2",
"h3" : "b3",
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions