timeatlas.metadata.Metadata.to_json

Metadata.to_json(pretty_print=False, path: str = None)

Convert the current Metadata object into a JSON string

Parameters
  • pretty_print – Boolean allowing for pretty printing

  • path – String of the JSON file to write

Returns

A String containing the JSON