响应是一个JSON对象,但是当我将其转换为字符串时,每行都会看到nameValuePairs
。
我的JsonObject
答复是:
{
"type": "success",
"value": [
{
"id": 1,
"joke": "Chuck Norris uses ribbed condoms inside out, so he gets the pleasure.",
"categories": [
"explicit"
]
},
{
"id": 2,
"joke": "MacGyver can build an airplane out of gum and paper clips. Chuck Norris can kill him and take it.",
"categories": [
]
},
{
"id": 3,
"joke": "Chuck Norris doesn't read books. He stares them down until he gets the information he wants.",
"categories": [
]
}
]
}
现在,当我进行转换时,它会在每个级别上添加nameValuePairs
。