Mapping flat data (CSV) to JSON Schema

1,052 views
Skip to first unread message

Friedrich Lindenberg

unread,
Aug 11, 2015, 6:28:04 AM8/11/15
to json-...@googlegroups.com
Hey all,

I've been thinking about ways in which I can map data from CSV files or database tables into nested JSON Schema objects. I need this because I want to use these definitions as part of a data loading process.

So here's a simple Python library (depending on jsonschema) to handle such a mapping. It also defines a JSON mapping format.

https://github.com/pudo/jsonmapping

I'd love to know if other people have tackled the same problem and if there is another, simpler solution (other than fully normalised, one-table-per-object storage). Also keen to think if people might know of other uses for this. 

Cheers, 

- Friedrich

Reply all
Reply to author
Forward
0 new messages