«nameValuePairs» добавляет мой ответ, когда я преобразовываю свой объект JSON в строку - PullRequest
0 голосов
/ 19 декабря 2018

Ответ является объектом JSON, однако при преобразовании его в строку я вижу nameValuePairs в каждой строке.

screen shot

MyJsonObject ответ:

{
  "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 на каждом уровне.

...