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