Loading TOC...

MarkLogic Server 11.0 Product Documentation
json.checkConfig

json.checkConfig(
   config as Object
) as Sequence

Summary

This function checks a json configuration object and returns a report.

Parameters
config The configuration object representing the strategy.

Usage Notes

The supplied configuration object is checked for validity and any errors found returned.

Example

const json = require('/MarkLogic/json/json.xqy');

let config = json.config('full');
config.whitespace = 'ignore';
json.checkConfig(config);

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