I am developing Java using intellij idea. And I want to assign a json like format to a Java String. But I am tired with escape characters that I have to deal with.
Is there any easy tool to format without escape characters?
IntelliJ IDEA helps you work with JSON files — it checks their syntax and formatting. In popular types of configuration files, IntelliJ IDEA provides code completion, thanks to the JSON Schema, which is a special format for describing the structure and contents of such files.
In the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | Color Scheme | JSON.
Getting Started. From context menu (right-click mouse) when one or two JSON files (. json extension) selected. Option "Compare JSON File With..." or "Compare JSON Files".
You can use inject language feature.
Ex:
String myJsonString = "";
Refer official documentation for more info.
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