Headers:
//user defined headers
Content-type: application/json
POST body:
{
"lang": "en",
"result": {
"parameters": {
"city": "Rome",
"name": "Tom"
},
"contexts": [],
"resolvedQuery": "my name is Tom",
},
"action": "greetings",
},
}
I am ble to extract like :lang using following
(get-in (json-body-request request {:keywords? true :bigdecimals true}) [:body :lang])
But I am not able to extract :resolvedQuerry. Although I am able to extract :result. I used following code , but I know i am missing something. Please help me out?
(get (get-in (json-body-request request {:keywords? true :bigdecimals true}) [:body :result]) :resolvedQuerry))
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.