Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JSON SelectorNew to Visual Studio Code? Get it now.
JSON Selector

JSON Selector

KumoDeFE

|
5 installs
| (0) | Free
Select any keys values in json file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON Key Selector - Visual Studio Code Extension

Effortlessly select keys, values, or both from JSON files based on line ranges or specific line numbers. Simplify JSON file editing and management with this powerful and user-friendly extension.


Features

  • Select Keys Only: Highlight and select just the keys from JSON key-value pairs.
  • Select Values Only: Focus on selecting only the values from JSON.
  • Select Keys and Values: Grab entire JSON key-value pairs with ease.
  • Flexible Line Selection:
    • Specify line ranges (e.g., 1-5).
    • Select individual lines (e.g., 3, 7).
    • Combine both (e.g., 1-3, 5, 8-10).

How to Use

  1. Open any JSON file in VS Code.
  2. Run the command: JSON Key Selector: Select JSON Keys/Values by Lines.
    • Shortcut: You can assign a shortcut to this command in your keybindings.
  3. Choose one of the following options:
    • Key: Select only the keys.
    • Value: Select only the values.
    • Key and Value: Select both keys and values.
  4. Enter the line numbers or ranges (e.g., 1-5, 8, 10-12).

Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions Marketplace (Ctrl+Shift+X).
  3. Search for JSON Key Selector.
  4. Click Install.

Alternatively, install using the Visual Studio Code Marketplace.


Commands

Command Description Activation Method
JSON Key Selector: Select JSON Keys/Values by Lines Allows selection of keys, values, or both from JSON by specifying line ranges. Command Palette (Ctrl+Shift+P)

Configuration

No configuration is required! Just install and start using the extension right away.


Use Cases

  1. Data Analysis: Quickly focus on specific fields in large JSON files.
  2. JSON Cleanup: Select and modify keys, values, or both for faster cleanup.
  3. Development Workflow: Easily navigate complex JSON structures during debugging or editing.

Contribution

We welcome contributions! Here's how you can help:

  1. Clone the repository:
    git clone https://github.com/datnt19213/json-selector.git
    
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft