
json:object-define( [$keys as xs:string*] ) as json:object
Creates a JSON object.
| Parameters | |
|---|---|
| keys | The sequence of keys in this object. |
let $obj := json:object-define(("a","b","c"))
return map:keys($obj)
=> "a","b","c"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.