How to Add \n to Json properties (or) convert json to pretty Json ?

Do you want to add the \n to all the properties of your json to convert the json look to pretty json.
public class NgDevPrettyJson {
public static void main(String[] args){
JsonParser parser = new JsonParser();
JsonObject json = parser.parse(jsonString).getAsJsonObject();
Gson gson = new GsonBuilder().setPrettyPrinting().create();
String prettyJson = gson.toJson(json);
return prettyJson;
}
}
[4093]betvip login করুন | বিকাশ ডিপোজিট ও লাইভ ক্যাসিনো বোনাস,betvip app download করে আজই জয়েন করুন। বিকাশ দিয়ে ক্যাসিনো ডিপোজিট এবং অনলাইন স্লট গেম ট্রিকস শিখে জিতে নিন লাইভ ক্যাসিনো বোনাস অফার। visit: betvip