amirziai/flatten

Python None becomes string "None" not JSON literal null

Closed this issue · 1 comments

Hello!

I am using unflatten_list() and I am running into a case where the Python None object is being serialized into the string "None" rather than the JSON literal null. I am using this in a script that extracts data from etcd3 to generate a JSON file for internal processes.

I'm an idiot. Sorry, looks like this was where I was loading my data from was munging it up and my logic to fix it was the bug not your logic; my apologies. Other bug is still valid.