COMPAS
  • Home
  • Docs
  • Extensions
  • Examples
  • Contribute
  • 1.10.0
  1. docs
  2. API Reference
  3. compas
  4. robots
  5. ChildLink
  6. ChildLink.to_jsonstring

ChildLink.to_jsonstring

ChildLink.to_jsonstring(pretty=False)[source]

Serialize the data representation of an object to a JSON string.

Parameters

pretty (bool, optional) – If True serialize a pretty representation of the data. Default is False.

Returns

str – A JSON string representation of the data.

  • Introduction
  • Installation
  • Getting started
  • Tutorial
  • API Reference
    • compas
      • artists
      • data
      • datastructures
      • files
      • geometry
      • numerical
      • plugins
      • robots
      • rpc
      • topology
      • utilities
    • compas_rhino
    • compas_blender
    • compas_ghpython
    • compas_plotters
  • Extension points
  • Developer Guide
  • Changelog
  • Releases
  • License
  • Citing
Previous
ChildLink.to_json
Next
ChildLink.validate_data

COMPAS

A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.

Copyright © 2017-2021 compas-dev