We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9315e4 commit d136423Copy full SHA for d136423
vecorel_cli/encoding/geojson.py
@@ -336,5 +336,9 @@ def default(self, obj):
336
return obj.tolist()
337
elif isinstance(obj, set):
338
return list(obj)
339
+ elif isinstance(obj, np.integer):
340
+ return int(obj)
341
+ elif isinstance(obj, np.bool):
342
+ return bool(obj)
343
else:
344
return super().default(obj)
0 commit comments