Is there a nice way to construct a JSON object similar to how maps can be constructed? Typically I would just do it this way:
xdmp:to-json(
map:new((
map:entry('x', 1),
map:entry('y', 2)
)))
Except that order is important in this specific scenario, and this ruins
ordering.
-Will
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
