[MarkLogic Dev General] Constructing JSON objects

Will Thompson wthompson at jonesmcclure.com
Tue Mar 10 17:09:01 PDT 2015

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:

    map:entry('x', 1),
    map:entry('y', 2)

Except that order is important in this specific scenario, and this ruins ordering. 


More information about the General mailing list