<human>:  object of type 'int32' is not json serializable.
<bot>: Here is a Python program to object of type 'int32' is not json serializable

import json

def _is_json_serializable(obj):
  """Helper that returns if obj is json serializable."""
  try:
    json.dumps(obj)
    return True
  except TypeError:
    return False

# Enter the object
obj = 1

# Calling the function
print((_is_json_serializable(obj)))

#Example Output
# True

#Remember to inspect code for bugs.