Skip to content

This is a Python utility for searching words within JSON files. It offers interactive file path input and error handling, making it efficient and user-friendly for data exploration.

Notifications You must be signed in to change notification settings

BHK0407/json_search_error_handling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

JSON Search

Overview

JSON Search is a Python utility script designed to search for specific words within JSON files. It provides a simple and intuitive command-line interface for searching words within JSON data, allowing users to efficiently explore and analyze JSON files.

Features

  • Search for specific words within JSON files recursively.
  • Interactive input for the JSON file path.
  • Error handling for file not found and invalid JSON format.
  • User-friendly display of search results.
  • Flexible usage with command-line arguments.

Usage

  1. Clone the repository or download the json_search.py script.
  2. Run the script using Python: python json_search.py <file_path>
  3. Replace <file_path> with the path to your JSON file.
  4. Follow the prompts to enter the word you want to search for.
  5. View the search results displayed in the console.

Requirements

  • Python 3.x
  • No additional Python packages required

License

This project is licensed under the MIT License. See the LICENSE file for details.

Feel free to customize the README.md according to your preferences and project details!

About

This is a Python utility for searching words within JSON files. It offers interactive file path input and error handling, making it efficient and user-friendly for data exploration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages