Primitive.to_json

Primitive.to_json(filepath)[source]

Serialise the structured data representing the primitive to json.

Parameters

filepath (str) – The path to the json file.