imgui_import_json
Restore a Dear ImGui UI layout by importing it from a JSON object or file. Clears the current layout and recreates all windows and widgets exactly as originally exported.
Instructions
Import a UI layout from JSON (same format as imgui_export_json). Clears the current layout and recreates all windows and widgets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | The layout JSON object to import (same format as export_json output). | |
| path | No | Path to a JSON file to import. Use this OR the 'json' field. |