frictionlessdata / tabulator-py

Python library for reading and writing tabular data via streams.
https://frictionlessdata.io
MIT License
236 stars 42 forks source link

Implement json writer #235

Closed roll closed 5 years ago

roll commented 6 years ago

Overview

For now tabulator support only stream.save(format='csv') to csv format. It's pretty easy to implement json writer just porting writers.csv.CSVWriter to writers.json.JSONWriter.

What we're aiming for:

from tabulator import Stream

with Stream('data.xls', headers=1) as stream:
  stream.save('path.json')

And of course it will be a pretty cool and useful feature :+1:

Plan

roll commented 6 years ago

For https://github.com/frictionlessdata/tableschema-py/issues/213

roll commented 6 years ago

@iamjenmackle Here I've added a simple spec based on the SQL writer spec - #164

roll commented 5 years ago

Closed in favor of #199