Giter Site home page Giter Site logo

hmartinez82 / npp-json-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from npp-jsonviewer/json-viewer

0.0 0.0 0.0 3.68 MB

A JSON viewer plugin for Notepad++. Displays the selected JSON string in a tree view.

License: MIT License

C 2.22% C++ 96.33% Makefile 1.45%

npp-json-viewer's Introduction

JSONViewer for Notepad++

GitHub release     Build status

This plugin is meant to display a JSON string in a Treeview. It also marks the error position in case of parsing errors. That's it!!! The plugin can be used in Notepad++.

Instructions:

  1. Paste the file NPPJSONViewer.dll to Notepad++ plugins\NPPJSONViewer folder
  2. Restart Notepad++ and verify that the plugin appears under the Plugins menu
  3. Open a document containing a JSON string (or paste in some JSON text)
  4. Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or press "Ctrl+Alt+Shift+J"
  5. Voila!! If the JSON is valid, it will be shown in a Treeview

Latest Updates:

2.0.4.0

  1. New feature:
    1. Show element count for list/array
  2. Bug/regression fixes:
    1. Crash fix: Setting dialog is not shown if about dialog is opened before it.
    2. Set language type JSON properly
    3. Some minor UI enhancements

2.0.3.0

  1. New feature:
    1. Search in json tree window
    2. Handle NaN, Inf, -Inf, Infinity, -Infinity properly
  2. Bug/regression fixes:
    1. Handle all types of arrays which does not have any key
    2. Corrected typos in setting json
    3. Don't use double qoutes for other than string type

2.0.2.0

  1. Provided UI to control formatting option via setting dialog
    1. Setting for indentation
    2. Setting for line ending
    3. Setting for line format
    4. Make json parsing configurable e.g. ignore trailing comma, ignore comment
  2. Added couple of new feature
    1. Follow json tree for current tab if it is json file
    2. Auto format json file when opened (by direct or by tab switching)
  3. Few bug/regression fixes

2.0.1.0

  1. Redeveloped UI
    1. Provided menu icon
    2. Json view panel is redesigned which is button like, refresh, validate, format etc.
    3. It uses well performed class instead of plain function
  2. Current selected node path is given on the bottom of json view window
  3. Many feature support such as copy node, copy value, copy path, expand/collapse all etc.
  4. Few bug fixes

1.41

  1. Support for ARM64
  2. Dropped Windows XP support as Notepad++ is no more supporting Windows XP.
  3. Upgrade Visual Studio to 2022

1.40

  1. issue-55 Format JSON should also set the language to JSON #FeatureRequest
  2. issue-56 Format Should Follow Line Break Settings
  3. issue-57, issue-60 "Should add a function to remove line breaks and spaces" Thanks @neoarc
  4. issue-68 Crashing Notepad++
  5. issue-72 tab setting from notepad++ settings are not honored
  6. issue-73 Display tree for Array of Object
  7. issue-80 use line ending setting from editor
  8. Relaxed parsing. Supports trailling commas, comments(only parsing), NaN and infinity JS literals.

1.34

  1. Fix Access Violation issue #51
  2. Fix issue #47
  3. Fix issue #43

1.31

  1. Reads tab setting from notepad++ settings

1.30a

  1. Now using rapidjson

1.24

  1. 64 bit support. Thanks @chcg

1.23

  1. Select all text when no selection Thanks @vakio
  2. fix memory leak and close About dialog when clicking "Close" button Thanks @quangnh89

1.22

  1. Fixed display of boolean values. Now displaying as "key":True/False Thanks @yoyokenny
  2. Fixed hang on faulty JSON. Thanks @vancekic

1.21

  1. Fixed display of UTF-8 characters.

1.20

  1. Fixed bug "#3 quoted doublequotes-Jan Huschauer"

1.19

  1. Added a command to format JSON

1.175

  1. Now displays a message box when JSON string is not selected.

1.17

  1. Fixed dialog display issue, that occured in 1.16 release.

1.16

  1. Fixed bug - 3305433 do not find error on second try and do not build tree
  2. Fixed a memory leak..was not deallocating memory allocated to json strings

1.15

  1. Fixed bug 3203739 "Unable to parse JSON Arrays"

1.1

  1. Fixed hotkey, now press CTRL+SHIFT+ALT+J(default).
  2. Marks error position in JSON

Contributors

npp-json-viewer's People

Contributors

barmi avatar cennoxx avatar chcg avatar dhruvaop avatar gitoffthelawn avatar hmartinez82 avatar ite-ela avatar kapilratnani avatar neoarc avatar quangnh89 avatar singhrajenm avatar stephenbjm avatar thomas694 avatar tiborepcek avatar vancekic avatar yoyok3nny avatar zmarty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.