MarkLogic 9 Product Documentation
json:object-define

json:object-define(
   [$keys as xs:string*]
) as json:object

Summary

Creates a JSON object.

Parameters
keys The sequence of keys in this object.

Example

  let $obj := json:object-define(("a","b","c"))
  return map:keys($obj)
  => "a","b","c"
Powered by MarkLogic Server | Terms of Use | Privacy Policy