Skip to main content
Ctrl+K
Logo image

COMPAS docs

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • API Reference
  • License
COMPAS.dev
  • API Reference
  • ParentLink
  • ParentLink.to_jsonstring

ParentLink.to_jsonstring

ParentLink.to_jsonstring(pretty=False, compact=False, minimal=False)[source]

Convert an object to its native data representation and save it to a JSON string.

Parameters:
prettybool, optional

If True, format the output with newlines and indentation.

compactbool, optional

If True, format the output without any whitespace.

minimalbool, optional

If True, exclude the GUID from the JSON output.

Returns:
str

The JSON string.

On this page
  • ParentLink.to_jsonstring()

© Copyright COMPAS Association.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.