【发布时间】:2015-10-17 14:03:43
【问题描述】:
我是 android 新手,我在 json 中有查询:-
如果我有多行,如何在 json 中换行?
像这样:
{"contacts":
[
{ "id": "c200",
"name": "Ravi Tamada",
"email": "xxxx@gmail .com",
"address": "xx-xx-xxxx,x - street, x - country",
"gender": "male",
"About": "Sentence1 .Sentence2.Sentence3",
"phone": { "mobile": "+91 0000000000",
"home": "00 000000",
"office": "00 000000 " }
}
]
}
【问题讨论】:
-
我们可以看到你正在使用的 json 文件吗?
-
{ "id" : "7", "illustrationurl" : "../../Img/Illustrations/pursesnatcher25.jpg", "para1" : "sentence1.sentence2.sentence3.", "title" : "“钱包抢夺者”" }