Moka.Blazor.Json.Abstractions

NameKindDescription
IMokaJsonViewer Interface Programmatic interface for controlling the JSON viewer component.
JsonSearchOptions Class Options for controlling JSON search behavior.

Moka.Blazor.Json.AI.Components

NameKindDescription
MokaJsonAiPanel Class JSON-specific AI chat panel that wraps the generic MokaAiPanel and adds JSON analysis quick actions, viewer integration, and context building.

Moka.Blazor.Json.AI.Extensions

NameKindDescription
ServiceCollectionExtensions Class Extension methods for registering the Moka JSON AI assistant services.

Moka.Blazor.Json.AI.Models

NameKindDescription
AiCapability Enum AI capabilities / quick action types.

Moka.Blazor.Json.Components

NameKindDescription
MokaJsonBottomBar Class Status bar displaying document statistics, selection path, and validation status.
MokaJsonBreadcrumb Class Displays the JSON Pointer path as a clickable breadcrumb trail.
MokaJsonContextMenu Class Context menu component with customizable actions per node. Positioned entirely via C# inline styles to avoid Blazor/JS DOM conflicts.
MokaJsonNode Class Renders a single row in the JSON tree view. Stateless — receives all data via parameters.
MokaJsonSearchOverlay Class Search/find panel with text input, match navigation, and mode toggles.
MokaJsonSettingsPanel Class Dropdown settings panel for the JSON viewer. Allows runtime configuration of display, layout, behavior, and search options.
MokaJsonToolbar Class Toggleable toolbar providing search, collapse/expand, format, and copy actions.
MokaJsonTreeViewport Class Virtualized scrolling container that renders MokaJsonNode rows. Uses Blazor's built-in Virtualize component for performance.
MokaJsonViewer Class Top-level JSON viewer and editor component. The primary entry point for consumers.

Moka.Blazor.Json.Diagnostics.Components

NameKindDescription
MokaJsonDebugOverlay Class Diagnostic overlay that displays real-time lazy parsing stats for a MokaJsonViewer. Add this component alongside your viewer and set MokaJsonDebugOverlay.Enabled to control visibility.

Moka.Blazor.Json.Extensions

NameKindDescription
ServiceCollectionExtensions Class Extension methods for registering Moka JSON viewer services with the DI container.

Moka.Blazor.Json.Models

NameKindDescription
EditHistory Class Snapshot-based undo/redo history for JSON editing. Stores full JSON strings, capped at a maximum number of entries.
FlattenedJsonNode Record A flattened representation of a single JSON node used for virtualized rendering. Each instance represents one visible row in the tree view.
InlineEditResult Record Result of an inline edit operation.
InlineEditState Class Tracks the state of an active inline edit session.
InlineEditTarget Enum Specifies whether an inline edit targets the value or the property key.
JsonChangeEventArgs Class Event arguments raised when the JSON content is modified in edit mode.
JsonChangeType Enum The type of modification made to the JSON document.
JsonErrorEventArgs Class Event arguments raised when an error occurs in the JSON viewer.
JsonNodeSelectedEventArgs Class Event arguments raised when a node is selected in the JSON viewer.
LazyDebugStats Class Debug statistics for lazy JSON document source. Used by Moka.Blazor.Json.Diagnostics to render the debug overlay.
LazyParseEntry Record A single parse operation entry for diagnostics.
MokaJsonCollapseMode Enum Specifies the initial collapse behavior when a document is loaded.
MokaJsonContextAction Class Defines a single action available in the JSON viewer context menu.
MokaJsonNodeContext Class Contextual information about the node on which a context menu action was invoked.
MokaJsonTheme Enum Specifies the theme mode for the JSON viewer.
MokaJsonToggleSize Enum Specifies the size of expand/collapse toggle indicators.
MokaJsonToggleStyle Enum Specifies the style of expand/collapse toggle indicators in the JSON tree.
MokaJsonToolbarMode Enum Specifies how toolbar buttons are displayed.
MokaJsonViewerOptions Class Global configuration options for the Moka JSON viewer, registered via DI.
Was this page helpful?