Translation.to_json

Translation.to_json(filepath)

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

Parameters

filepath (str) – The path to the file containing the data.