json:check-config( $config as map:map ) as element(json:report)*
This function checks a json configuration object and returns a report.
Parameters | |
---|---|
config | The configuration object representing the strategy. |
xquery version "1.0-ml"; import module namespace json="http://marklogic.com/xdmp/json" at "/MarkLogic/json/json.xqy"; let $config := json:config("full") => map:with("whitespace", "ignore") return json:check-config($config)