smartJson

smartJson is a Chrome extension that provides a clean and efficient interface for JSON formatting with a convenient copy history feature. Public: https://chromewebstore.google.com/detail/smartjson/ofmhciklfaggnibalembgnlmpompepgc?utm_source=ext_app_menu

smartJson Screenshot

Installation

  1. Download or clone this repository: Github repository
  2. Open Chrome and navigate to chrome://extensions
  3. Enable “Developer mode” in the top right corner.
  4. Click “Load unpacked” and select the directory containing the extension files.

Features

Simple and Intuitive Interface

  • Two main text areas: one for input and one for formatted output
  • Clear error messages for invalid JSON
  • Character count display with a 5000 character limit

JSON Formatting

  • Automatically formats and indents JSON input for improved readability
  • Validates JSON syntax and displays error messages for invalid JSON
  • One-click copy functionality for the formatted JSON

Copy History

  • Keeps a record of the last 5 formatted JSON snippets
  • Quick access to previous JSON inputs
  • Option to clear the copy history

How to Use

  1. Click on the smartJson icon in your Chrome toolbar to open the extension.
  2. Enter or paste your JSON into the left text area.
  3. The extension will automatically format and validate your JSON.
  4. If valid, the formatted JSON will appear in the right text area.
  5. Click “Copy” to copy the formatted JSON to your clipboard.
  6. View your copy history below the main interface.
  7. Click “Input” on any history item to load it into the input area.
  8. Use the “Clear” button to remove all items from the copy history.