Loading TOC...

MarkLogic Server 11.0 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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.