Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to format JSON in notepad++

Tags:

json

notepad++

I want to format JSON String in notepad++. Kindly guide me how to do so. I looked into this solution Notepad ++ JSON Format. It tells me to download the a tool from This web site. But I don't know which link to click out of 4 mentioned in that web site. Also, I just randomly downloaded one of the zip file and then unzipped it and it shows one dll file. Now what to do with that dll. Can some one guide me as I am a complete beginner. I have windows 10 running on my PC

EDIT 1 Some people are in so much hurry to give negative points. May be some people want to see code snippet even for this question. Huh!

EDIT 2 Anyways I tried below and IT DID NOT WORK

enter image description here

This is how my notepad ++ looks like after installing them.

enter image description here

EDIT 3 Ok I fixed the issue. The problem is if you select multiple plugins together (multiple checkboxes) and install them there seems to be some issue with notepad++, so the solution for me was to install the plugin individually.

like image 412
Unbreakable Avatar asked Jul 24 '17 16:07

Unbreakable


People also ask

How do I format a JSON file?

Formatting# You can format your JSON document using Ctrl+Shift+I or Format Document from the context menu.

Can you edit JSON in notepad?

Yes, if notepad is a text editor.

How do I indent JSON in Notepad++?

To format and indent the code: select all the json fragment. click "Plugins"/"JSON Viewer"/"Format JSON" or use the shortcut Ctrl + Alt + Shift + M.

Does Notepad++ have a JSON formatter?

However, if you want to let Notepad++ format JSON, you need to install certain plugins in Notepad++. At present, there are 2 main Notepad++ JSON formatter plugins. The first is JSON Viewer, and the other is JSTool. JSON Viewer is an online web-based plugin that can help you view, analyze, and format JSON data.


1 Answers

You have to use the plugin manager of Notepad++ and search for the JSON plugin. There you can easily install it.

This answer explains it pretty good: How to reformat JSON in Notepad++?

like image 56
Kiril Avatar answered Sep 20 '22 05:09

Kiril