我得到一个无效的Json,响应不会触发响应此代码。有什么建议?

时间:2017-09-27 19:02:34

标签: json

{
  "output": {
    "ssml": "At this point, would you like to learn <mark name="anim 13_Arm_RtPointMe 1.0"/>more about me, as well as some facts about cancer, or would <mark name="anim 23_Arm_RtPalmupLow 1.0"/>you prefer to go straight to answering questions. You can return to hear my story and facts about cancer at any time by pressing the Genie Shares button.",
    "text": {
      "values": [
        "At this point, would you like to learn more about me, as well as some facts about cancer, or would you prefer to go straight to answering questions. You can return to hear my story and facts about cancer at any time by pressing the “Genie Shares” button."
      ],
      "selection_policy": "sequential"
    },
    "input_options": [
      "Yes",
      "No"
    ],
    "enable_microphone": true
  }
}

2 个答案:

答案 0 :(得分:0)

我怀疑这是&#34; Genie Shares&#34;周围的报价。尝试在它周围使用单引号。

答案 1 :(得分:0)

值中的引号必须使用\进行转义。

"中的所有ssml替换为\"