JointTrajectoryPoint.to_json

JointTrajectoryPoint.to_json(filepath, pretty=False)

Serialize the data representation of an object to a JSON file.

Parameters
  • filepath (path string or file-like object) – The path or file-like object to the file containing the data.

  • pretty (bool, optional) – If True serialize a pretty representation of the data. Default is False.