Home >Development Tools >notepad >How to format json in notepad
Many data files are generally saved in json format, such as the linkage of provinces and cities, area codes, postal codes, address books, game server areas, etc. The following picture is in json Detailed information about provinces and cities in various regions of the world is saved. This is a very long string.
Then click on the "Plug-in" menu option on the current page, place the mouse on the "Plugin Manager" option in the menu that appears, and click on the submenu that appears "Show Plugin Manager" option.
Related recommendations: "Notepad using graphic tutorial"
Then in the pop-up Find the "JSON Viewer" option on the page, and you can see that the check in the box in front of it is not checked.
Check the check box in front of it, and then click the "Install" button in the lower right corner. It will start the installation. After the installation is completed, a pop-up will appear. Restart the Notepad editor prompt window and click "Yes".
At this time, return to the Notepad page, click the plug-in menu option again, and you can see more in the menu that appears. JSON Viewer options.
Then place the mouse on the "JSON Viewer" option, click the "Format JSON" option in the submenu that appears or press its shortcut key; then you can view The large string of strings just now has become very neat and orderly.
The above is the detailed content of How to format json in notepad. For more information, please follow other related articles on the PHP Chinese website!