Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C csvkit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wireservice
  • csvkit
  • Issues
  • #355
Closed
Open
Issue created Oct 29, 2014 by Administrator@rootContributor

csvjson Supporting streaming json documents

Created by: jennifersmith

Hi there,

Great set of utilities!

I was just wondering if there would be a problem with supporting 'streaming' json from the csv2json utility.

Similar to https://github.com/onyxfish/csvkit/issues/275 , I would like to emit json without the surrounding array notation, so :

{foo:1}
{foo:2}
{foo:3}

This would mean that for a large csv file, there isn't the necessity to pull it all into memory first.

Ideally this would be done via an optional --stream option that defaults to false.

Happy to work on a PR if that sounds like something csvkit could/should do.

Assignee
Assign to
Time tracking