Hello, I am very begginer with arrays and I have been looking around forums and nothing worked for me.
I am trying to get “speech” and “action” values from this JSON
{
"id": "a0366bae-6918-4d54-a693-36cb50a7c804",
"timestamp": "2017-12-16T12:58:51.046Z",
"lang": "en",
"result": {
"source": "agent",
"resolvedQuery": "Hi",
"action": "HelloBasic",
"actionIncomplete": false,
"parameters": {},
"contexts": [],
"metadata": {
"intentId": "8be4ef2c-8767-41fd-ae01-71c54455e2d2",
"webhookUsed": "false",
"webhookForSlotFillingUsed": "false",
"intentName": "Hello"
},
"fulfillment": {
"speech": "",
"messages": [
{
"type": 0,
"speech": ""
}
]
},
"score": 1
},
"status": {
"code": 200,
"errorType": "success",
"webhookTimedOut": false
},
"sessionId": "5b2211f7-3a0e-45cf-8a87-1e48dbf7a2d6"
}
And I just have no idea how to get the string value from this.
Sorry for English