How to reformat JSON in Notepad++?

前端 未结 21 1751
清酒与你
清酒与你 2020-12-04 04:20

I need Notepad++ to take a json string from this

{\"menu\": {\"id\": \"file\",\"value\": \"File\",\"popup\": {\"menuitem\": [{\"value\": \"New\", \"onclick\"         


        
21条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-04 04:51

    For Notepad++ v.7.6 and above Plugins Admin... is available.

    1. Open Menu Plugins > Plugins Admin...

    2. Search JSON Viewer

    3. Check JSON Viewer in List

    4. Click on Install Button

    5. Restart Notepad++

    6. Select JSON text

    7. Go to Plugins > JSON Viewer > Format JSON ( Ctrl + Alt + Shift + M )

    We can install any Notepad++ supported plugins using Plugins Admin...

提交回复
热议问题