Please help me to find a JSON viewer plugin for android studio like Eclipse JSON Editor plugin.
I tried both JSONFormatter & JSON online viewer, but not working like Eclipse JSON Editor Plugin.
Ctrl + Alt + Shift + Ins
-> Choose JSon.Ctrl + Alt + Shift + R
For all the InelliJ IDE's you can install this plugin.
Steps to install the plugin in Android Studio on Mac
How it use in Android Studio
It looks something like this
1) Open a new scratch buffer (Ctrl + Shift + A
and enter "scratch buffer").
2) Paste your json into the scratch buffer
3) Change the file language to Json (Ctrl + Shift + A
and enter "change file language")
4) Reformat Code (Ctrl + Alt + L
)
I found the solution by creating a file with an extension of .json
inside your project. Then paste the unaligned json content in this file, then press align keys(Keys combination may vary based on your Android studio Keymap. For me Ctrl + Alt + L
). That's all json data is aligned with indents.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With