An Ignition Perspective module that adds an interactive JSON viewer component powered by @microlink/react-json-view.
- Interactive, collapsible JSON tree view
- 30+ built-in themes
- Copy-to-clipboard support
- Configurable collapse depth
onUpdate,onAdd, andonDeleteevent callbacks- Customizable display options (data types, object sizes, sort keys, etc.)
- Download the latest
.modlfile from the Releases page (or build from source). - In the Ignition Gateway, go to Config > Modules and install the module.
- The
jsonviewcomponent will be available in the Perspective component palette under Display.
| Property | Type | Default | Description |
|---|---|---|---|
value |
object | {} |
The JSON data to display |
theme |
enum | monokai |
Color theme (30+ options) |
name |
string | root |
Root node label |
collapsed |
boolean | false |
Collapse all nodes by default |
collapseDepth |
integer | 1 |
Default expand depth |
displayObjectSize |
boolean | true |
Show object/array sizes |
displayDataTypes |
boolean | true |
Show data type labels |
enableClipboard |
boolean | true |
Enable copy-to-clipboard |
sortKeys |
boolean | false |
Sort object keys alphabetically |
indentWidth |
integer | 4 |
Indentation width in pixels |
iconStyle |
enum | triangle |
Expand/collapse icon style (circle, triangle, square) |
quotesOnKeys |
boolean | true |
Show quotes around keys |
style |
object | {} |
Custom CSS styles for the root container |
| Event | Description |
|---|---|
onUpdate |
Fired when a value is edited |
onAdd |
Fired when a new key/value is added |
onDelete |
Fired when a key/value is deleted |
- Java 17+
- Node.js 20+
- Yarn 1.x
./gradlew buildThe unsigned module file will be at build/JsonViewComponent.unsigned.modl.
This project is licensed under the MIT License — see the LICENSE file for details.