Skip to main content
Ctrl+K
Logo image

COMPAS docs

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • API Reference
  • License
COMPAS.dev
  • API Reference
  • ChildLink
  • ChildLink.to_json

ChildLink.to_json

ChildLink.to_json(filepath, pretty=False, compact=False, minimal=False)[source]

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

Parameters:
filepathstr

The path to the JSON file.

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.

On this page
  • ChildLink.to_json()

© Copyright COMPAS Association.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.