datopian / datapipes

Data Pipes for CSV
https://datapipes.okfnlabs.org/
MIT License
117 stars 16 forks source link

Output JSON #113

Open rufuspollock opened 10 years ago

rufuspollock commented 10 years ago

Support for outputting json from datapipes.

Default output format is:

[
  { field: value, field: value },
  ...
]

Other possible output formats (future work)

[
  [ value, value, value, ... ]
]

"Full"

[
  {
    index: 0,
    row: { .... }
  },
  ....
]

Implementation

Probably want to use https://github.com/dominictarr/JSONStream so we stream ...

rufuspollock commented 10 years ago

@andylolz this should be very straighforward. Would you be up for implementing?

rufuspollock commented 10 years ago

@andylolz ping ;-)