JSON Manipulation

Functions for JSON serialization and deserialization that use custom hooks for properly processing numpy arrays.

autolab_core.dump(*args, **kwargs)

Dump a numpy.ndarray to file stream.

This works exactly like the usual json.dump() function, but it uses our custom serializer.

autolab_core.load(*args, **kwargs)

Load an numpy.ndarray from a file stream.

This works exactly like the usual json.load() function, but it uses our custom deserializer.