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)[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, the JSON file will be pretty printed. Defaults to False.

On this page
  • ChildLink.to_json()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.