Skip to main content
Ctrl+K
Logo image

COMPAS Viewer

  • Introduction
  • Installation
  • Tutorials
    • File Structure
  • Examples
    • Basic Examples
    • Object Examples
    • Color Examples
    • Layout Examples
    • Dynamic Examples
    • Other Examples
  • API Reference
    • compas_viewer.viewer
    • compas_viewer.scene
    • compas_viewer.controller
    • compas_viewer.actions
    • compas_viewer.components
    • compas_viewer.configurations
    • compas_viewer.layout
    • compas_viewer.utilities
  • License
  • Acknowledgements
COMPAS.dev
  • API Reference
  • MenubarConfig
  • MenubarConfig.to_jsonstring

MenubarConfig.to_jsonstring

MenubarConfig.to_jsonstring(pretty=False)[source]

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

Parameters:
prettybool, optional

If True, the JSON string will be pretty printed. Defaults to False.

Returns:
str

The JSON string.

On this page
  • MenubarConfig.to_jsonstring()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.