movement_primitives.io.write_json

movement_primitives.io.write_json(filename, obj)

Write object to JSON format.

Parameters:
filenamestr

Output file.

objobject

Any custom object that is a hierarchical composition of basic data types and numpy arrays.