xxxxxxxxxx
def is_jsonable(x):
try:
json.dumps(x)
return True
except (TypeError, OverflowError):
return False
xxxxxxxxxx
def is_jsonable(x):
try:
json.dumps(x)
return True
except (TypeError, OverflowError):
return False