I am trying to write a dictionary to a json file with one of the values in boolean format. I get the following error when I am trying to run my code.
raise TypeError(f'Object of type {o.class.name} ' TypeError: Object of type bool_ is not JSON serializable
I am currently using Python for this purpose.