14
Numpy has a lot of different basic types, all of which are listed here. I've tracked down an issue in my program to float32s not being JSON-serializable, so I've started testing all datatypes from the list above: >>> import numpy as np >>> from json import dumps >>> dumps(np.bool(True)) 'true' >>>