val string = """
{
"name": "it's name",
"age": "it's age",
"job": "it's job"
}
""".trimIndent()
//“”” > 여러줄 입력
//trimIndent() > 공백없애주기
val a = JSONObject(string)
Log.d(TAG,a.toString())
// {"name":"it's name","age":"it's age","job":"it's job"}
val jsonOb = JSONObject()
jsonOb.put("test",string)
Log.d(TAG,jsonOb.toString())
//{"test":"{\n \"name\": \"it's name\",\n \"age\": \"it's age\",\n \"job\": \"it's job\"\n} "}