当我将JSON对象转换为字符串时,“ nameValuePairs”加到我的响应中

时间:2018-12-18 21:40:25

标签: json android-volley jsonobjectrequest

响应是一个JSON对象,但是当我将其转换为字符串时,每行都会看到nameValuePairs

screen shot

我的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

0 个答案:

没有答案