Usually a lot of data files are generally saved in json format, such as linkage of provinces and cities, area codes, postal codes, address books, game server areas, etc. The picture below shows the detailed information of provinces and cities in various regions of the world saved in json. This is a very long string.(Recommended learning:notepad use)
##Format JSON string
Plug-in (P) -> JSON Viewer -> Format JSON
Then place the mouse on the JSON Viewer option and click the Format JSON option in the submenu that appears. Or press its shortcut key; then you can see that the large string of strings just now has become very neat and orderly.
The above is the detailed content of Can notepad format json strings?. For more information, please follow other related articles on the PHP Chinese website!