amirziai / flatten

Flatten JSON in Python
https://pypi.python.org/pypi/flatten_json
MIT License
541 stars 98 forks source link

flatten_preserve_lists returns a list instead of dict #68

Open openrory opened 3 years ago

openrory commented 3 years ago

Hi guys,

flatten_preserve_lists(data) appears to return a list, whereas the definition says it returns a flattened dictionary.

Cheers, Rory

amirziai commented 3 years ago

can you share an example?