Function to flatten a JSON dictionary (or a JSON dictionary in a list) to a dictionary of cast objects.
json_obj (Any) – JSON object (typically a dictionary or list, but can also be a primitive).
JSON dictionary/list/primitive with contents cast to Python objects.
dict | list | int | float | str | bool