ray.job_submission.JobInfo.to_json# JobInfo.to_json() → Dict[str, Any][source]# Convert this object to a JSON-serializable dictionary. Note that the runtime_env field is converted to a JSON-serialized string and the field is renamed to runtime_env_json. Returns: A JSON-serializable dictionary representing the JobInfo object.