to_json

Equi7Grid_projection.to_json(pretty: bool = False, indentation: int = 2) str

New in version 2.4.0.

Convert the object to a JSON string.

Parameters:
  • pretty (bool, default=False) – If True, it will set the output to be a multiline string.

  • indentation (int, default=2) – If pretty is True, it will set the width of the indentation.

Return type:

str