Notepad++ installs JSON formatting plug-in

Search for JSON Viewer plugin

In the toolbar of Notepad++: open " Plug-ins " --> " Plug-in Management " --> " Available " search box, search for " JSON Viewer " and find the JSON Viewer plug-in.
Insert image description here

Install JSON Viewer plug-in

Check the found JSON Viewer and install it online. After the installation is complete, restart NotePad++ and you will see the JSON Viewer plug-in in the " Plugins " list.
Insert image description here

Using the JSON Viewer plugin

Select Format JSON in the JSON Viewer , or use the shortcut keys ( Ctrl + Alt + Shift + M ) to format JSON.
For example, format the following JSON string:

{
    
    "name":"Miracle Luna", "age":"XX", "country":"China","language":"Chinese"}
Before formatting

Insert image description here

After formatting

Insert image description here

Guess you like

Origin blog.csdn.net/aikudexiaohai/article/details/133510411