sciline.serialize.json_serialize_task_graph# sciline.serialize.json_serialize_task_graph(graph)[source]# Serialize a graph to JSON. See the user guide on Provenance. Also available as sciline.TaskGraph.serialize(). Returns: dict[str, dict[str, Json] | list[Json] | str | int | float | bool | None] – A JSON object representing the graph.