hone
hone copied to clipboard
Convert CSV to automatically nested JSON
Hi, can we able to convert the csv data below with '.' as delimiter that has a json array nested in an array CSV: Products.name | Products.specifications.cost | Products.discount |...
I'm trying to create a schema that will put a list of items from separate columns in to a nested array: ``` "data": { "tags": ["cashier", "burger flipper", "fry cook"]...
I am trying to use the this library for converting csv to nested json. I am getting the below error "line 39, in populate_structure_with_data key_path = mapping[column_name] KeyError: 'studentid'" when...
Hi, Maybe I missed something but I assume some specific shemas are need for transformation, specialy with nested elements.
This package currently does not allow for using multi-character delimiters (eg. `||`). Is there a reason for it? As I needed it, I've prepared a fix for this and I...
If I use a delimiter `|` for example and I have a column name like `lvl1|lvl2`, the resulting JSON structure looks like `"lvl1|lvl2" : `. I believe it would make...
Hi! I'm trying to replicate the examples that are illustrated in the readme but however I'm not able to replicate them. I tried to convert the `example_a.csv` with the following...
from hone import Hone def process_mapper(): h = Hone() schema = h.get_schema('curlim__table__mapping.csv') # returns nested JSON schema for input.csv result = h.convert('curlim__table__mapping.csv') # returns converted JSON as Python dictionary def...
# Support for type casting (design document) ## Overview + Introduction + How each type will be handled + string + number + literal names (`null`, `true`, and `false`) +...