Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 382 Bytes

extensions.rst

File metadata and controls

12 lines (10 loc) · 382 Bytes

jsonpickle extensions

NumPy

jsonpickle includes a built-in numpy extension. If would like to encode sklearn models, numpy arrays, and other numpy-based data then you must enable the numpy extension by registering its handlers:

>>> import jsonpickle.ext.numpy as jsonpickle_numpy
>>> jsonpickle_numpy.register_handlers()