Android 设置JSON格式链接

Android 设置JSON格式链接,android,Android,我正在尝试设置一个json格式的链接,以便能够解析。你们觉得这种格式合适吗 {"suspended": "false","firstName": "John","lastName": "Smith","checkedin": 0,"checkindatetime": 0,"address": {"streetAddress": "21 2nd Street","city": "New York","state": "NY","postalCode": "10021"},"phoneNumber"

我正在尝试设置一个json格式的链接,以便能够解析。你们觉得这种格式合适吗

{"suspended": "false","firstName": "John","lastName": "Smith","checkedin": 0,"checkindatetime": 0,"address": {"streetAddress": "21 2nd Street","city": "New York","state": "NY","postalCode": "10021"},"phoneNumber": [{ "type": "home", "number": "212 555-1234" },{ "type": "fax", "number": "646 555-4567" }]}

是的,它是有效的JSON-您可以使用来验证它