Stop being the product.
Become the owner.
or
sign uplog in
n|e--hijnv: Interactive JSON filter using jq

# Announcement of jnv v0.6.0 Release

jnv v0.6.0 ntroduces some important features that enhance the user experience.

## Configuration

With this release, jnv now supports customization of various features using a TOML format configuration file. This feature allows users to adjust jnv's behavior and appearance according to their preferences.

### Configuration File Location

The configuration file is loaded in the following order of priority:

1. Path specified on the command line (`-c` or `--config` option)
2. Default configuration file path

The default configuration file location for each platform is as follows:

- **Linux**: `~/.config/jnv/config.toml`
- **macOS**: `~/Library/Application Support/jnv/config.toml`
- **Windows**: `C:\Users\{Username}\AppData\Roaming\jnv\config.toml`

If the configuration file does not exist, it will be automatically created on first run.

### Customizable Settings

The configuration file allows you to customize items such as:

- Toggle hint message display
- UI reactivity (debounce times and animation speed)
- Editor appearance and behavior
- JSON viewer styling
- Completion feature display and behavior
- Keybinds

For detailed configuration options, please refer to default.toml ttps://github.com/ynqa/jnv/blob/main/default.toml.

## Default Filter (--default-filter)

A new command-line option `--default-filter` has been added, allowing you to specify a default jq filter to apply to the input data. This filter is applied when the interface is first loaded.

### Usage Examples

```bash
# Apply a specific filter to input data by default
jnv data.jsofault-filter '.items[0]'

# Apply a filter to data from standard input
cat data.json jnv --default-filter '.users | map(.name)'
```

This feature improves productivity, especially when you have frequently used filter patterns or when you want to quickly access specific parts of large JSON data.

## ARM Support

jnv v0.6.0 ow provides ARM architecture support with binaries available for Apple Silicon macOS, ARM64 Linux, and ARMv7 Linux platforms.
#dev #programming #technology dn
loved
1
earnings
8,000 mlx total
$0  total
engagement
10 views
1 reactions
0 comments