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:
Paste the file "NPPJSONViewer.dll" to Notepad++ plugins\NPPJSONViewer folder
Restart Notepad++ and verify that the plugin appears under the Plugins menu
Open a document containing a JSON string (or paste in some JSON text)
Select JSON fragment and navigate to plugins/JSON Viewer/show JSON Viewer or press "Ctrl+Alt+Shift+J"
Voila!! If the JSON is valid, it will be shown in a Treeview
Latest Updates:
1.40
issue-55 Format JSON should also set the language to JSON #FeatureRequest
issue-56 Format Should Follow Line Break Settings
issue-57, issue-60 "Should add a function to remove line breaks and spaces" Thanks @neoarc
issue-68 Crashing Notepad++
issue-72 tab setting from notepad++ settings are not honored
issue-73 Display tree for Array of Object
issue-80 use line ending setting from editor
Relaxed parsing. Supports trailling commas, comments(only parsing), NaN and infinity JS literals.
1.34
Fix Access Violation issue #51
Fix issue #47
Fix issue #43
1.31
Reads tab setting from notepad++ settings
1.30a
Now using rapidjson
1.24
64 bit support. Thanks @chcg
1.23
Select all text when no selection
Thanks @vakio
fix memory leak and close About dialog when clicking "Close" button
Thanks @quangnh89
1.22
Fixed display of boolean values. Now displaying as "key":True/False
Thanks @yoyokenny
Fixed hang on faulty JSON.
Thanks @vancekic
1.21
Fixed display of UTF-8 characters.
1.20
Fixed bug "#3 quoted doublequotes-Jan Huschauer"
1.19
Added a command to format JSON
1.175
Now displays a message box when JSON string is not selected.
1.17
Fixed dialog display issue, that occured in 1.16 release.
1.16
Fixed bug - 3305433 do not find error on second try and do not build tree
Fixed a memory leak..was not deallocating memory allocated to json strings
1.15
Fixed bug 3203739 "Unable to parse JSON Arrays"
1.1
Fixed hotkey, now press CTRL+SHIFT+ALT+J(default).
请发表评论