Hi,
I want to send JSON Object as Input Arguments to my bot.
I am facing issue to send it, could you please tell me the syntax to send.
Argument Type: Newtonsoft.Json.Linq.Jobject.
Default Value: (How to send it like syntaxc?)
Hi,
I want to send JSON Object as Input Arguments to my bot.
I am facing issue to send it, could you please tell me the syntax to send.
Argument Type: Newtonsoft.Json.Linq.Jobject.
Default Value: (How to send it like syntaxc?)
Hi
If you already have a json text, then use “Deserialize Json” activity to read your json string. Which will give you a JObject var as OutPut. That you can use as the input variable.
Or you can initialize a new Dynamic variable like this and use it
Dim jsonObject As dynamic = New JObject()
Hi @Ankit_Genpact,
Try this
JObject.parse("{'your json string'}");
Hi All,
Thanks for your Quick Reply:)
I am calling bot using API and i want to send Json as Input Argument from there, so when i sending json directly , it won’t work.
I dont want to convert string object into Json object.
Using String as Input Arguments is working fine for me already.
When I try this I get
“Can not add Newtonsoft.Json.Linq.JValue to Newtonsoft.Json.Linq.JObject.”
I added the bracket at the end that was missing in your screenshot, is there anything else I am missing?
New JObject (“{test,value}”)