Skip to main content

Crate jiq

Crate jiq 

Source
Expand description

jiq library - Interactive JSON query tool

This library exposes the core functionality of jiq for testing purposes.

Re-exports§

pub use app::App;
pub use app::Focus;
pub use app::OutputMode;
pub use config::Config;

Modules§

ai
AI Assistant module for jiq
app
autocomplete
clipboard
config
editor
error
help
history
input
json
JSON utility functions
json_path
Shared JSON path emission and lookup utilities.
layout
Layout module for tracking UI component regions
notification
path_at_cursor
Path-at-cursor lookup for the results pane.
path_at_cursor_apply
Apply / undo helpers for the > (drill in) and < (back) chords on the results pane.
query
query_undo
Bounded undo ring for > (drill-in) on the results pane.
results
save
scroll
search
snippets
stats
Stats module for computing and displaying result statistics
str_utils
UTF-8 safe conversions between character indices and byte offsets.
syntax_highlight
Syntax highlighting for jq query expressions.
theme
Centralized theme configuration for all UI components.
tooltip
widgets

Structs§

Timer
RAII timer that logs "[TIMING] {label} took {ms}ms" on drop. When the debug logger is not initialised the line is filtered out; the only cost is one Instant::now() call and a no-op log macro.