How to save CurvedNode as .mrk.json in python?

Im trying to export a CurvedNode to .mrk.json in python using Slicer in Jupyter Notebook
(lassoan/slicer-notebook:2020-05-15-89b6bb5) but it only saves as fcsv format.

Currently Im doing:

file_path = os.path.join("saved", "markups.mrk.json")
myStorageNode = curveNode.CreateDefaultStorageNode()

Thank you!

I don’t think saving in json format was available then. You need to use a more recent Slicer version.

1 Like