MLJSON provides a set of XQuery library functions for convering to/from JSON based on an easy to index XML serialization of JSON.
Note:With MarkLogic 6, there is a new set of high-performing, JSON conversion utilities under the
json namespace. These APIs provide a superset of the MLJSON functionality. See this chapter
of the Application Developer's Guide for details. Stick with MLSJON if you are using earlier versions of MarkLogic.