AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

mongodb keyvalue json
 
 

i want tp chatscript mongodb keyvalue input manyvalue.
for example,
{"key":"customer","keyvalue":{"name":"ray","address":"where","notice":{"product":"AAA","counselor":"yes"}}}

but chatscript mongodb is insert data only string
^mongoinsertdocument(customer “name”:“ray”,“address”:“where”,“notice”:{"product":"AAA","counselor":"yes"})  is faild.

what should i do?

and mongodb keyvalue datatype is json.
how to use is jsondata input the uservariable?

for example

$mongodata=^mongofinddocument(customer)

$mongodata is “name”:“ray”,“address”:“where”,“notice”:{"product":"AAA","counselor":"yes"}.

i want $name=ray,$address=where,$product=AAA,$counselor=yes

what should i do?

please help me

 

 
  login or register to react