# Angular JSON Viewer Component

JsonViewer shows any JSON value as a read-only, collapsible tree: typed colours, object and array sizes, search with highlighted matches, copy of values and paths, JSON text parsing with a clear error, and large arrays split into pages. It follows the WAI-ARIA tree pattern and has no dependency.

## Basic

JsonViewer shows the value it is given, any JSON compatible value, as a read-only tree. Strings, numbers, booleans and null have their own colour, and a collapsed object or array shows its size, such as {{ '{' }}3 keys{{ '}' }} or [2 items] . Click a node, or use the arrow keys, to expand it; hover a node to copy its value or its path.

```typescript
import { Component } from '@angular/core';
import { JsonViewerModule } from '@exhaustive-ui/core/jsonviewer';

@Component({
    template: `
        <div class="card">
            <p-json-viewer [value]="user" />
        </div>
    `,
    standalone: true,
    imports: [JsonViewerModule]
})
export class JsonviewerBasicDemo {
    user = {
        id: 1042,
        name: 'Ada Lovelace',
        email: 'ada@example.com',
        verified: true,
        manager: null,
        roles: ['admin', 'editor'],
        address: { street: '12 St James Square', city: 'London', postcode: 'SW1Y 4JH' },
        lastLogin: '2026-11-28T09:41:00Z'
    };
}
```

## Depth and Expand All

expandDepth sets how many levels are open at first: 0 shows the root collapsed, 1 (the default) shows its children. toolbar adds the Expand all and Collapse all buttons, also available as the expandAll and collapseAll methods, and toggle opens or closes a node by its identifier. sortKeys sorts the keys of the objects, or takes a compare function. rootName names the root, arrayIndexes hides the indexes of the array items when false, and quoteKeys shows the keys between quotes, as in JSON.

```typescript
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { JsonViewerModule } from '@exhaustive-ui/core/jsonviewer';
import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';
import { ToggleSwitchModule } from '@exhaustive-ui/core/toggleswitch';

@Component({
    template: `
        <div class="card flex flex-col gap-4">
            <div class="flex flex-wrap items-center gap-6">
                <div class="flex items-center gap-3">
                    <span id="depth-label" class="font-medium">Depth</span>
                    <p-select-button [options]="depths" [(ngModel)]="depth" optionLabel="label" optionValue="value" [allowEmpty]="false" ariaLabelledBy="depth-label" />
                </div>
                <div class="flex items-center gap-3">
                    <p-toggle-switch [(ngModel)]="sorted" inputId="sort-keys" />
                    <label for="sort-keys">Sort keys</label>
                </div>
            </div>
            <p-json-viewer [value]="order" [expandDepth]="depth" [sortKeys]="sorted" rootName="order" toolbar />
        </div>
    `,
    standalone: true,
    imports: [JsonViewerModule, FormsModule, SelectButtonModule, ToggleSwitchModule]
})
export class JsonviewerExpandDemo {
    depth = 1;

    sorted = false;

    depths = [
        { label: '0', value: 0 },
        { label: '1', value: 1 },
        { label: '2', value: 2 },
        { label: '3', value: 3 }
    ];

    order = {
        number: 'SO-2026-0412',
        status: 'shipped',
        total: 148.9,
        currency: 'EUR',
        customer: { name: 'Grace Hopper', email: 'grace@example.com', tier: 'gold' },
        lines: [
            { sku: 'KB-01', title: 'Mechanical keyboard', quantity: 1, price: 119.9 },
            { sku: 'MS-07', title: 'Wireless mouse', quantity: 1, price: 29 }
        ],
        shipping: { carrier: 'DHL', tracking: 'JD014600003SE', eta: '2026-12-02' },
        paid: true,
        coupon: null
    };
}
```

## Search

filter adds a search input above the tree. The keys and the values that contain the text, ignoring case, are highlighted and their ancestors expand, the number of matches is shown and announced to screen readers, and the arrow buttons, enter and shift+enter move between the matches. escape clears the search and the down arrow moves the focus to the current match. When the search is cleared, the nodes go back to the state they had before. With filterMode="filter" , the nodes that neither match nor contain a match are hidden. filterValue is two-way bindable, so the search can also come from an input of your own, without the built-in one.

```typescript
import { Component, signal } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { JsonViewerFilterMode, JsonViewerModule } from '@exhaustive-ui/core/jsonviewer';
import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';

@Component({
    template: `
        <div class="card flex flex-col gap-4">
            <div class="flex items-center gap-3">
                <span id="filter-mode-label" class="font-medium">Mode</span>
                <p-select-button [options]="modes" [(ngModel)]="mode" optionLabel="label" optionValue="value" [allowEmpty]="false" ariaLabelledBy="filter-mode-label" />
            </div>
            <p-json-viewer [value]="team" filter [filterMode]="mode" [(filterValue)]="query" scrollHeight="22rem" />
            <p class="m-0 text-sm text-muted-color">Searching for: {{ query() || 'nothing yet' }}</p>
        </div>
    `,
    standalone: true,
    imports: [JsonViewerModule, FormsModule, SelectButtonModule]
})
export class JsonviewerSearchDemo {
    mode: JsonViewerFilterMode = 'highlight';

    query = signal('london');

    modes = [
        { label: 'Highlight', value: 'highlight' },
        { label: 'Filter', value: 'filter' }
    ];

    team = {
        name: 'Platform',
        lead: { name: 'Margaret Hamilton', office: 'Boston' },
        members: [
            { name: 'Ada Lovelace', role: 'Engineer', office: 'London', skills: ['compilers', 'math'] },
            { name: 'Alan Turing', role: 'Researcher', office: 'Manchester', skills: ['cryptography', 'math'] },
            { name: 'Grace Hopper', role: 'Engineer', office: 'New York', skills: ['compilers', 'COBOL'] },
            { name: 'Tim Berners-Lee', role: 'Architect', office: 'London', skills: ['web', 'protocols'] }
        ],
        offices: { london: { seats: 40, open: true }, boston: { seats: 25, open: true }, manchester: { seats: 12, open: false } }
    };
}
```

## Copy and Paths

Each node has a copy value and a copy path button, shown on hover and focus, and the focused node is copied with ctrl+c and its path with ctrl+shift+c ( ⌘ on a Mac). A value is copied as it is for a string and as indented JSON otherwise. A live region announces the copy, the button shows a check mark, and onCopy gives the copied text. copyable turns this off. pathFormat chooses between a JSONPath such as $.users[2].email (the default), a dot path such as users.2.email , used by lodash get and many form libraries, and a JSON Pointer such as /users/2/email . A click on a node, enter or space emits onNodeSelect with its key, its value and its path.

```typescript
import { Component, signal } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { JsonViewerCopyEvent, JsonViewerModule, JsonViewerNodeSelectEvent, JsonViewerPathFormat } from '@exhaustive-ui/core/jsonviewer';
import { SelectButtonModule } from '@exhaustive-ui/core/selectbutton';

@Component({
    template: `
        <div class="card flex flex-col gap-4">
            <div class="flex items-center gap-3">
                <span id="path-format-label" class="font-medium">Path format</span>
                <p-select-button [options]="formats" [(ngModel)]="format" optionLabel="label" optionValue="value" [allowEmpty]="false" ariaLabelledBy="path-format-label" />
            </div>
            <p-json-viewer [value]="response" [pathFormat]="format" [expandDepth]="2" (onNodeSelect)="onSelect($event)" (onCopy)="onCopy($event)" />
            <dl class="m-0 grid grid-cols-[auto_1fr] gap-x-4 gap-y-1 text-sm">
                <dt class="font-medium">Selected path</dt>
                <dd class="m-0 font-mono break-all">{{ selected() }}</dd>
                <dt class="font-medium">Last copy</dt>
                <dd class="m-0 font-mono break-all">{{ copied() }}</dd>
            </dl>
        </div>
    `,
    standalone: true,
    imports: [JsonViewerModule, FormsModule, SelectButtonModule]
})
export class JsonviewerCopyDemo {
    format: JsonViewerPathFormat = 'jsonpath';

    selected = signal('none');

    copied = signal('none');

    formats = [
        { label: 'JSONPath', value: 'jsonpath' },
        { label: 'Dot', value: 'dot' },
        { label: 'Pointer', value: 'pointer' }
    ];

    response = {
        page: 1,
        users: [
            { id: 1, name: 'Ada', email: 'ada@example.com' },
            { id: 2, name: 'Grace', email: 'grace@example.com' },
            { id: 3, name: 'Alan', email: 'alan@example.com', 'last seen': '2026-11-29' }
        ]
    };

    onSelect(event: JsonViewerNodeSelectEvent) {
        this.selected.set(event.path || '(root)');
    }

    onCopy(event: JsonViewerCopyEvent) {
        this.copied.set(event.success ? `${event.kind}: ${event.text.length > 60 ? event.text.slice(0, 60) + '…' : event.text}` : 'failed');
    }
}
```

## Large Data

Only the expanded nodes are rendered, and the children of an object or an array larger than pageSize (100 by default) are split into groups such as [0 … 99] , which expand on demand; very large arrays get groups of groups. This array of 10,000 events opens at once, and the search still finds every match and expands only the groups that contain the first ones. Expand all leaves the groups collapsed. Strings longer than maxStringLength (200 characters by default, 0 to turn it off) are cut, with a button, or the right arrow , to show them whole. An object that contains itself is shown as [Circular] instead of looping.

```typescript
import { Component } from '@angular/core';
import { JsonViewerModule } from '@exhaustive-ui/core/jsonviewer';

@Component({
    template: `
        <div class="card">
            <p-json-viewer [value]="log" [maxStringLength]="80" filter toolbar scrollHeight="24rem" ariaLabel="Event log" />
        </div>
    `,
    standalone: true,
    imports: [JsonViewerModule]
})
export class JsonviewerLargeDemo {
    log: Record<string, unknown>;

    constructor() {
        const levels = ['info', 'warn', 'error', 'debug'];
        const events = Array.from({ length: 10000 }, (_, index) => ({
            id: index + 1,
            level: levels[index % levels.length],
            service: index % 7 === 0 ? 'billing' : 'api',
            durationMs: (index * 37) % 1000,
            message: index === 4242 ? 'Payment provider timeout' : `Request ${index + 1} handled`
        }));
        const meta: Record<string, unknown> = {
            source: 'gateway-eu-1',
            note: 'Every request of the last hour, newest last. The gateway keeps the raw logs for thirty days; this summary drops the headers and bodies to stay small enough to inspect in the browser.'
        };
        meta['self'] = meta;
        this.log = { meta, count: events.length, events };
    }
}
```

## Parsing a JSON String

With parse , a string value is read as a JSON text, such as the body of an HTTP response or a field of a form. When it is not valid, the tree is replaced by an error with the message of the browser, the line and the column, and the line itself with the faulty character marked; onParseError gives the same details, and the error template replaces the message. An empty text shows the empty message. Remove the comma after "draft" below to fix it.

```typescript
import { Component, signal } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { JsonViewerModule, JsonViewerParseError } from '@exhaustive-ui/core/jsonviewer';
import { TextareaModule } from '@exhaustive-ui/core/textarea';

@Component({
    template: `
        <div class="card grid gap-4 md:grid-cols-2">
            <div class="flex flex-col gap-2">
                <label for="json-text" class="font-medium">JSON text</label>
                <textarea id="json-text" pTextarea rows="12" class="font-mono text-sm" spellcheck="false" [(ngModel)]="text" (ngModelChange)="error.set(null)" [attr.aria-describedby]="error() ? 'json-text-status' : null"></textarea>
                <span id="json-text-status" class="text-sm text-muted-color">{{ error() ? 'Invalid JSON at line ' + error()!.line : 'Valid JSON' }}</span>
            </div>
            <p-json-viewer [value]="text" parse [expandDepth]="2" ariaLabel="Parsed JSON" (onParseError)="error.set($event)" />
        </div>
    `,
    standalone: true,
    imports: [JsonViewerModule, FormsModule, TextareaModule]
})
export class JsonviewerParseDemo {
    text = '{\n  "title": "Release notes",\n  "tags": ["angular", "draft",],\n  "published": false\n}';

    error = signal<JsonViewerParseError | null>(null);
}
```

## Template

The string , number , boolean and null templates replace the rendering of a type, and the value template the types without their own template. They receive the value , its type , its key , its path , the text shown by default and the node , and render inside the element that has the colour of the type. The key template replaces the keys, and the error template the parse error. Here the URLs become links and the ISO dates are formatted. The tree keeps a single tab stop, so the links are not in the tab sequence: enter on their node opens them, through onNodeSelect .

```typescript
import { DatePipe } from '@angular/common';
import { Component } from '@angular/core';
import { JsonViewerModule, JsonViewerNodeSelectEvent } from '@exhaustive-ui/core/jsonviewer';
import { SvgIcon } from '@exhaustive-ui/core/icon';
import { checkCircle, timesCircle } from '@exhaustive-ui/icons/round';

@Component({
    template: `
        <div class="card">
            <p-json-viewer [value]="repository" (onNodeSelect)="open($event)">
                <ng-template #string let-value let-text="text">
                    @if (isUrl(value)) {
                        <a [href]="value" target="_blank" rel="noopener noreferrer" tabindex="-1" class="text-primary underline">{{ value }}</a>
                    } @else if (isDate(value)) {
                        <time [attr.datetime]="value">{{ value | date: 'medium' }}</time>
                    } @else {
                        {{ text }}
                    }
                </ng-template>
                <ng-template #boolean let-value>
                    <span class="inline-flex items-center gap-1"><svg pIcon [icon]="value ? checkCircle : timesCircle"></svg>{{ value ? 'yes' : 'no' }}</span>
                </ng-template>
            </p-json-viewer>
        </div>
    `,
    standalone: true,
    imports: [SvgIcon, JsonViewerModule, DatePipe]
})
export class JsonviewerTemplateDemo {
    checkCircle = checkCircle;
    timesCircle = timesCircle;
    repository = {
        name: 'exhaustive-ui',
        homepage: 'https://exhaustive-ui.com',
        repository: 'https://github.com/e-xiste/exhaustive-ui',
        license: 'MIT',
        private: false,
        archived: false,
        createdAt: '2026-02-18T10:24:00Z',
        pushedAt: '2026-11-30T16:51:15Z',
        stars: 1280
    };

    isUrl(value: string): boolean {
        return /^https?:\/\//.test(value);
    }

    isDate(value: string): boolean {
        return /^\d{4}-\d{2}-\d{2}T/.test(value) && !isNaN(Date.parse(value));
    }

    open(event: JsonViewerNodeSelectEvent) {
        if (event.originalEvent instanceof KeyboardEvent && typeof event.value === 'string' && this.isUrl(event.value)) {
            window.open(event.value, '_blank', 'noopener');
        }
    }
}
```

## Theming

The colours of the keys and of each type come from the jsonviewer design tokens, with a light and a dark value in the four presets that meet the WCAG AA contrast ratio. Override them for the whole application in the preset, or for one viewer with the dt property, as this viewer does with a palette of its own. The monospace font, the indentation and the highlight of the matches are tokens too: see the Theming tab for the full list.

```typescript
import { Component } from '@angular/core';
import { JsonViewerModule } from '@exhaustive-ui/core/jsonviewer';

@Component({
    template: `
        <div class="card">
            <p-json-viewer [value]="config" [dt]="palette" [expandDepth]="2" />
        </div>
    `,
    standalone: true,
    imports: [JsonViewerModule]
})
export class JsonviewerThemingDemo {
    config = {
        name: 'checkout',
        replicas: 3,
        autoscale: true,
        region: null,
        ports: [8080, 8443],
        env: { NODE_ENV: 'production', LOG_LEVEL: 'warn' }
    };

    palette = {
        root: {
            fontSize: '0.8125rem'
        },
        node: {
            indent: '1.5rem'
        },
        colorScheme: {
            light: {
                key: { color: '{teal.800}' },
                value: { stringColor: '{rose.700}', numberColor: '{indigo.700}', booleanColor: '{amber.800}' }
            },
            dark: {
                key: { color: '{teal.300}' },
                value: { stringColor: '{rose.300}', numberColor: '{indigo.300}', booleanColor: '{amber.300}' }
            }
        }
    };
}
```

## Accessibility

Screen Reader The value is shown with the tree view pattern : an element with the tree role, labelled by the tree label, ariaLabel or ariaLabelledBy , and a treeitem for each visible node, with aria-level , aria-posinset and aria-setsize , and aria-expanded on the objects, arrays and groups that can open. Each node is named by its key and its value, such as email: "ada@example.com" , or the size of an object or an array, and aria-keyshortcuts tells the copy shortcuts. The tree is a single tab stop: the focused node has tabindex="0" and the others -1 . The copy and show more buttons stay out of the tab sequence, reached with the mouse, a screen reader or the keyboard shortcuts, and have their own accessible name. A polite live region announces the copies, a failed copy, and the number of matches once the search text settles. The search input is labelled by its placeholder, controls the tree with aria-controls and is described by the number of matches. Every text comes from the labels input: the tree name, the search filter , matchCount , matchesAnnouncement and noMatches (the emptySearchMessage of the translation configuration by default), the copyValue and copyPath names, the announcements, the summaries keys , oneKey , items and oneItem , the range of a group and the parse error texts.

## Pass Through Options

| Name | Type | Description |
|------|------|-------------|
| root | PassThroughOption<HTMLElement, I> | Used to pass attributes to the root's DOM element. |
| toolbar | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the toolbar above the tree. |
| filterInput | PassThroughOption<HTMLInputElement, I> | Used to pass attributes to the search input. |
| matchCount | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the number of matches. |
| toolbarButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the buttons of the toolbar. |
| tree | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the tree element. |
| node | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the tree items. |
| toggler | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the expand and collapse icon of a node. |
| key | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the key of a node. |
| value | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the value of a node. |
| summary | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the summary of an object or an array, such as {3 keys}. |
| moreButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the show more and show less buttons of a long string. |
| actions | PassThroughOption<HTMLSpanElement, I> | Used to pass attributes to the container of the copy buttons of a node. |
| copyButton | PassThroughOption<HTMLButtonElement, I> | Used to pass attributes to the copy buttons. |
| highlight | PassThroughOption<HTMLElement, I> | Used to pass attributes to the highlighted parts of the matching keys and values. |
| error | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the message shown when the JSON text can not be parsed. |
| emptyMessage | PassThroughOption<HTMLDivElement, I> | Used to pass attributes to the message shown without value. |

## Theming

### CSS Classes

| Class | Description |
|-------|-------------|
| p-jsonviewer | Class name of the root element |
| p-jsonviewer-filtering | Class name of the root element during a search |
| p-jsonviewer-toolbar | Class name of the toolbar |
| p-jsonviewer-filter | Class name of the search field |
| p-jsonviewer-filter-input | Class name of the search input |
| p-jsonviewer-match-count | Class name of the number of matches |
| p-jsonviewer-toolbar-button | Class name of the toolbar buttons |
| p-jsonviewer-tree | Class name of the tree |
| p-jsonviewer-node | Class name of the tree items |
| p-jsonviewer-node-expanded | Class name of an expanded tree item |
| p-jsonviewer-node-match | Class name of a tree item that matches the search |
| p-jsonviewer-node-current-match | Class name of the current match |
| p-jsonviewer-toggler | Class name of the expand and collapse icon |
| p-jsonviewer-key | Class name of the keys |
| p-jsonviewer-value | Class name of the values, followed by p-jsonviewer-value-string, -number, -boolean, -null and the other types |
| p-jsonviewer-summary | Class name of the summaries of objects and arrays |
| p-jsonviewer-range | Class name of the label of a group of children |
| p-jsonviewer-more-button | Class name of the show more button of a long string |
| p-jsonviewer-actions | Class name of the container of the copy buttons |
| p-jsonviewer-copy-button | Class name of the copy buttons |
| p-jsonviewer-highlight | Class name of the highlighted parts of the matches |
| p-jsonviewer-error | Class name of the parse error |
| p-jsonviewer-empty-message | Class name of the message shown without value |

### Design Tokens

| Token | CSS Variable | Description |
|-------|--------------|-------------|
| jsonviewer.background | --p-jsonviewer-background | Background of the component |
| jsonviewer.color | --p-jsonviewer-color | Text color |
| jsonviewer.border.color | --p-jsonviewer-border-color | Border color |
| jsonviewer.border.radius | --p-jsonviewer-border-radius | Border radius |
| jsonviewer.font.family | --p-jsonviewer-font-family | Font family of the tree, monospace by default |
| jsonviewer.font.size | --p-jsonviewer-font-size | Font size of the tree |
| jsonviewer.line.height | --p-jsonviewer-line-height | Line height of the tree |
| jsonviewer.toolbar.padding | --p-jsonviewer-toolbar-padding | Padding of the toolbar |
| jsonviewer.toolbar.gap | --p-jsonviewer-toolbar-gap | Space between the controls of the toolbar |
| jsonviewer.toolbar.border.color | --p-jsonviewer-toolbar-border-color | Border color below the toolbar |
| jsonviewer.filter.input.background | --p-jsonviewer-filter-input-background | Background of the search input |
| jsonviewer.filter.input.color | --p-jsonviewer-filter-input-color | Text color of the search input |
| jsonviewer.filter.input.border.color | --p-jsonviewer-filter-input-border-color | Border color of the search input |
| jsonviewer.filter.input.hover.border.color | --p-jsonviewer-filter-input-hover-border-color | Border color of the search input on hover |
| jsonviewer.filter.input.focus.border.color | --p-jsonviewer-filter-input-focus-border-color | Border color of the focused search input |
| jsonviewer.filter.input.placeholder.color | --p-jsonviewer-filter-input-placeholder-color | Placeholder color of the search input |
| jsonviewer.filter.input.icon.color | --p-jsonviewer-filter-input-icon-color | Color of the search icon |
| jsonviewer.filter.input.border.radius | --p-jsonviewer-filter-input-border-radius | Border radius of the search input |
| jsonviewer.filter.input.padding | --p-jsonviewer-filter-input-padding | Padding of the search input |
| jsonviewer.filter.input.width | --p-jsonviewer-filter-input-width | Width of the search input |
| jsonviewer.filter.input.focus.ring.width | --p-jsonviewer-filter-input-focus-ring-width | Focus ring width of the search input |
| jsonviewer.filter.input.focus.ring.style | --p-jsonviewer-filter-input-focus-ring-style | Focus ring style of the search input |
| jsonviewer.filter.input.focus.ring.color | --p-jsonviewer-filter-input-focus-ring-color | Focus ring color of the search input |
| jsonviewer.filter.input.focus.ring.offset | --p-jsonviewer-filter-input-focus-ring-offset | Focus ring offset of the search input |
| jsonviewer.filter.input.focus.ring.shadow | --p-jsonviewer-filter-input-focus-ring-shadow | Focus ring shadow of the search input |
| jsonviewer.match.count.color | --p-jsonviewer-match-count-color | Color of the number of matches |
| jsonviewer.toolbar.button.color | --p-jsonviewer-toolbar-button-color | Color of the toolbar buttons |
| jsonviewer.toolbar.button.hover.color | --p-jsonviewer-toolbar-button-hover-color | Color of the toolbar buttons on hover |
| jsonviewer.toolbar.button.hover.background | --p-jsonviewer-toolbar-button-hover-background | Background of the toolbar buttons on hover |
| jsonviewer.toolbar.button.padding | --p-jsonviewer-toolbar-button-padding | Padding of the toolbar buttons |
| jsonviewer.toolbar.button.border.radius | --p-jsonviewer-toolbar-button-border-radius | Border radius of the toolbar buttons |
| jsonviewer.toolbar.button.icon.size | --p-jsonviewer-toolbar-button-icon-size | Size of the icons of the toolbar buttons |
| jsonviewer.toolbar.button.focus.ring.width | --p-jsonviewer-toolbar-button-focus-ring-width | Focus ring width of a toolbar button |
| jsonviewer.toolbar.button.focus.ring.style | --p-jsonviewer-toolbar-button-focus-ring-style | Focus ring style of a toolbar button |
| jsonviewer.toolbar.button.focus.ring.color | --p-jsonviewer-toolbar-button-focus-ring-color | Focus ring color of a toolbar button |
| jsonviewer.toolbar.button.focus.ring.offset | --p-jsonviewer-toolbar-button-focus-ring-offset | Focus ring offset of a toolbar button |
| jsonviewer.toolbar.button.focus.ring.shadow | --p-jsonviewer-toolbar-button-focus-ring-shadow | Focus ring shadow of a toolbar button |
| jsonviewer.tree.padding | --p-jsonviewer-tree-padding | Padding of the tree |
| jsonviewer.node.padding | --p-jsonviewer-node-padding | Padding of a node |
| jsonviewer.node.gap | --p-jsonviewer-node-gap | Space between the parts of a node |
| jsonviewer.node.indent | --p-jsonviewer-node-indent | Indentation of each level |
| jsonviewer.node.border.radius | --p-jsonviewer-node-border-radius | Border radius of a node |
| jsonviewer.node.hover.background | --p-jsonviewer-node-hover-background | Background of a node on hover |
| jsonviewer.node.current.match.background | --p-jsonviewer-node-current-match-background | Background of the current match |
| jsonviewer.node.focus.ring.width | --p-jsonviewer-node-focus-ring-width | Focus ring width of a node |
| jsonviewer.node.focus.ring.style | --p-jsonviewer-node-focus-ring-style | Focus ring style of a node |
| jsonviewer.node.focus.ring.color | --p-jsonviewer-node-focus-ring-color | Focus ring color of a node |
| jsonviewer.node.focus.ring.offset | --p-jsonviewer-node-focus-ring-offset | Focus ring offset of a node |
| jsonviewer.node.focus.ring.shadow | --p-jsonviewer-node-focus-ring-shadow | Focus ring shadow of a node |
| jsonviewer.toggler.color | --p-jsonviewer-toggler-color | Color of the expand and collapse icon |
| jsonviewer.toggler.size | --p-jsonviewer-toggler-size | Size of the expand and collapse icon |
| jsonviewer.key.color | --p-jsonviewer-key-color | Color of the keys |
| jsonviewer.key.font.weight | --p-jsonviewer-key-font-weight | Font weight of the keys |
| jsonviewer.value.string.color | --p-jsonviewer-value-string-color | Color of the strings |
| jsonviewer.value.number.color | --p-jsonviewer-value-number-color | Color of the numbers |
| jsonviewer.value.boolean.color | --p-jsonviewer-value-boolean-color | Color of the booleans |
| jsonviewer.value.null.color | --p-jsonviewer-value-null-color | Color of null |
| jsonviewer.value.other.color | --p-jsonviewer-value-other-color | Color of the dates, big integers, functions and undefined values |
| jsonviewer.summary.color | --p-jsonviewer-summary-color | Color of the summaries of objects and arrays and of the group labels |
| jsonviewer.highlight.background | --p-jsonviewer-highlight-background | Background of the matching text |
| jsonviewer.highlight.color | --p-jsonviewer-highlight-color | Color of the matching text |
| jsonviewer.highlight.current.background | --p-jsonviewer-highlight-current-background | Background of the matching text of the current match |
| jsonviewer.highlight.current.color | --p-jsonviewer-highlight-current-color | Color of the matching text of the current match |
| jsonviewer.highlight.border.radius | --p-jsonviewer-highlight-border-radius | Border radius of the matching text |
| jsonviewer.more.button.color | --p-jsonviewer-more-button-color | Color of the show more button |
| jsonviewer.more.button.hover.color | --p-jsonviewer-more-button-hover-color | Color of the show more button on hover |
| jsonviewer.more.button.border.radius | --p-jsonviewer-more-button-border-radius | Border radius of the show more button |
| jsonviewer.more.button.padding | --p-jsonviewer-more-button-padding | Padding of the show more button |
| jsonviewer.copy.button.color | --p-jsonviewer-copy-button-color | Color of the copy buttons |
| jsonviewer.copy.button.hover.color | --p-jsonviewer-copy-button-hover-color | Color of the copy buttons on hover |
| jsonviewer.copy.button.hover.background | --p-jsonviewer-copy-button-hover-background | Background of the copy buttons on hover |
| jsonviewer.copy.button.copied.color | --p-jsonviewer-copy-button-copied-color | Color of a copy button once copied |
| jsonviewer.copy.button.size | --p-jsonviewer-copy-button-size | Size of the copy buttons |
| jsonviewer.copy.button.icon.size | --p-jsonviewer-copy-button-icon-size | Size of the icons of the copy buttons |
| jsonviewer.copy.button.border.radius | --p-jsonviewer-copy-button-border-radius | Border radius of the copy buttons |
| jsonviewer.error.background | --p-jsonviewer-error-background | Background of the parse error |
| jsonviewer.error.border.color | --p-jsonviewer-error-border-color | Border color of the parse error |
| jsonviewer.error.color | --p-jsonviewer-error-color | Text color of the parse error |
| jsonviewer.error.mark.background | --p-jsonviewer-error-mark-background | Background of the character where the parse error was found |
| jsonviewer.error.padding | --p-jsonviewer-error-padding | Padding of the parse error |
| jsonviewer.error.gap | --p-jsonviewer-error-gap | Space between the lines of the parse error |
| jsonviewer.error.border.radius | --p-jsonviewer-error-border-radius | Border radius of the parse error |
| jsonviewer.empty.message.color | --p-jsonviewer-empty-message-color | Color of the message shown without value |
| jsonviewer.empty.message.padding | --p-jsonviewer-empty-message-padding | Padding of the message shown without value |

