MarkLogic 12 EA 1 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