How to Fix TypeError: Object of type ‘int64’ is not JSON Serializable
To fix the TypeError: Object of type ‘int64’ is not JSON Serializable error, convert the int64 value to a native Python int type before serialization. The TypeError: Object of type ‘int64’ is not JSON Serializable error occurs when serializing a Python object containing a NumPy int64 data type to JSON format. The error occurs because the Python json … Read more