vuje

command module
v0.0.0-...-785ae6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2018 License: BSD-3-Clause Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

VUJE: interactive JSON digger

Helps you navigate JSON files in an interactive incremental manner with autocompletion. Especially useful when you have a large JSON file. The idea was taken from the jid project, modified and improved.

Here's how it works

Demo

What's special

  • Emacs-like keybindings (without meta-key, though)
  • Customizable separator
  • Non-interactive mode

Installation

go get -u github.com/qoops-1/vuje

User Guide

Escaping characters

Characters that need to be escaped with "\" to be used as a part of JSON key:

  • "["
  • "\"
  • "." or the separator that you choose with -d option

For example, when you want to query the key in {"this[k]ey.": 1} your query should look like "this\[k]ey\.". If you escape any other character the escape will be ignored and the character will be parsed as usually.

Shortcuts

Moving JSON contents

Ctrl+N – scroll one line down

Ctrl+P – scroll one line up

Ctrl+V – scroll one screen down

Ctrl+O – scroll one screen up

Ctrl+T – scroll to top

Ctrl+R – scroll to bottom

Moving cursor in query line

Ctrl+F – move cursor one char forwards

Ctrl+B – move cursor one char back

Ctrl+A – move cursor to the beginning

Ctrl+E – move cursor to the end

Other

Ctrl+U – delete everything before cursor

Ctrl+K – delete everything after cursor

Ctrl+G – hide completions

Ctrl+C – exit

<Tab> – autocomplete

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址