|
|
|
|
|
by sireat
1848 days ago
|
|
CSV<->JSON is fundamentally an unsolvable problem because of mismatch in data hierarchies among them. Plus you have the type looseness for both and lack of standards for CSV. A trivial 2-D case is handled well by Python library such as Pandas. Here OP could be an alternative. When I say trivial I mean flat 2 dimensional data, such as you would get from Mockaroo or similar source. However in real life - data is messy. As you get into 3,4 and deeper hierarchies on JSON you can't really translate that into nice flat 2d CSV. Then you have missing keys, mixed up types and you end up rolling you own hand written converters. |
|