{"ScriptPreparationCode":"function simpleStringify(o) {\r\n let cache = [];\r\n let data = JSON.stringify(o, function(key, value) {\r\n if (typeof value === \u0022object\u0022 \u0026\u0026 value !== null) {\r\n if (cache.indexOf(value) !== -1) {\r\n // Circular reference found, discard key\r\n return;\r\n }\r\n // Store value in our collection\r\n cache.push(value);\r\n }\r\n return value;\r\n });\r\n cache = null;\r\n return data;\r\n}\r\nvar testData = {\u0022web-app\u0022: {\r\n \u0022servlet\u0022: [ \r\n {\r\n \u0022servlet-name\u0022: \u0022cofaxCDS\u0022,\r\n \u0022servlet-class\u0022: \u0022org.cofax.cds.CDSServlet\u0022,\r\n \u0022init-param\u0022: {\r\n \u0022configGlossary:installationAt\u0022: \u0022Philadelphia, PA\u0022,\r\n \u0022configGlossary:adminEmail\u0022: \u0022ksm@pobox.com\u0022,\r\n \u0022configGlossary:poweredBy\u0022: \u0022Cofax\u0022,\r\n \u0022configGlossary:poweredByIcon\u0022: \u0022/images/cofax.gif\u0022,\r\n \u0022configGlossary:staticPath\u0022: \u0022/content/static\u0022,\r\n \u0022templateProcessorClass\u0022: \u0022org.cofax.WysiwygTemplate\u0022,\r\n \u0022templateLoaderClass\u0022: \u0022org.cofax.FilesTemplateLoader\u0022,\r\n \u0022templatePath\u0022: \u0022templates\u0022,\r\n \u0022templateOverridePath\u0022: \u0022\u0022,\r\n \u0022defaultListTemplate\u0022: \u0022listTemplate.htm\u0022,\r\n \u0022defaultFileTemplate\u0022: \u0022articleTemplate.htm\u0022,\r\n \u0022useJSP\u0022: false,\r\n \u0022jspListTemplate\u0022: \u0022listTemplate.jsp\u0022,\r\n \u0022jspFileTemplate\u0022: \u0022articleTemplate.jsp\u0022,\r\n \u0022cachePackageTagsTrack\u0022: 200,\r\n \u0022cachePackageTagsStore\u0022: 200,\r\n \u0022cachePackageTagsRefresh\u0022: 60,\r\n \u0022cacheTemplatesTrack\u0022: 100,\r\n \u0022cacheTemplatesStore\u0022: 50,\r\n \u0022cacheTemplatesRefresh\u0022: 15,\r\n \u0022cachePagesTrack\u0022: 200,\r\n \u0022cachePagesStore\u0022: 100,\r\n \u0022cachePagesRefresh\u0022: 10,\r\n \u0022cachePagesDirtyRead\u0022: 10,\r\n \u0022searchEngineListTemplate\u0022: \u0022forSearchEnginesList.htm\u0022,\r\n \u0022searchEngineFileTemplate\u0022: \u0022forSearchEngines.htm\u0022,\r\n \u0022searchEngineRobotsDb\u0022: \u0022WEB-INF/robots.db\u0022,\r\n \u0022useDataStore\u0022: true,\r\n \u0022dataStoreClass\u0022: \u0022org.cofax.SqlDataStore\u0022,\r\n \u0022redirectionClass\u0022: \u0022org.cofax.SqlRedirection\u0022,\r\n \u0022dataStoreName\u0022: \u0022cofax\u0022,\r\n \u0022dataStoreDriver\u0022: \u0022com.microsoft.jdbc.sqlserver.SQLServerDriver\u0022,\r\n \u0022dataStoreUrl\u0022: \u0022jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon\u0022,\r\n \u0022dataStoreUser\u0022: \u0022sa\u0022,\r\n \u0022dataStorePassword\u0022: \u0022dataStoreTestQuery\u0022,\r\n \u0022dataStoreTestQuery\u0022: \u0022SET NOCOUNT ON;select test=\u0027test\u0027;\u0022,\r\n \u0022dataStoreLogFile\u0022: \u0022/usr/local/tomcat/logs/datastore.log\u0022,\r\n \u0022dataStoreInitConns\u0022: 10,\r\n \u0022dataStoreMaxConns\u0022: 100,\r\n \u0022dataStoreConnUsageLimit\u0022: 100,\r\n \u0022dataStoreLogLevel\u0022: \u0022debug\u0022,\r\n \u0022maxUrlLength\u0022: 500}},\r\n {\r\n \u0022servlet-name\u0022: \u0022cofaxEmail\u0022,\r\n \u0022servlet-class\u0022: \u0022org.cofax.cds.EmailServlet\u0022,\r\n \u0022init-param\u0022: {\r\n \u0022mailHost\u0022: \u0022mail1\u0022,\r\n \u0022mailHostOverride\u0022: \u0022mail2\u0022}},\r\n {\r\n \u0022servlet-name\u0022: \u0022cofaxAdmin\u0022,\r\n \u0022servlet-class\u0022: \u0022org.cofax.cds.AdminServlet\u0022},\r\n \r\n {\r\n \u0022servlet-name\u0022: \u0022fileServlet\u0022,\r\n \u0022servlet-class\u0022: \u0022org.cofax.cds.FileServlet\u0022},\r\n {\r\n \u0022servlet-name\u0022: \u0022cofaxTools\u0022,\r\n \u0022servlet-class\u0022: \u0022org.cofax.cms.CofaxToolsServlet\u0022,\r\n \u0022init-param\u0022: {\r\n \u0022templatePath\u0022: \u0022toolstemplates/\u0022,\r\n \u0022log\u0022: 1,\r\n \u0022logLocation\u0022: \u0022/usr/local/tomcat/logs/CofaxTools.log\u0022,\r\n \u0022logMaxSize\u0022: \u0022\u0022,\r\n \u0022dataLog\u0022: 1,\r\n \u0022dataLogLocation\u0022: \u0022/usr/local/tomcat/logs/dataLog.log\u0022,\r\n \u0022dataLogMaxSize\u0022: \u0022\u0022,\r\n \u0022removePageCache\u0022: \u0022/content/admin/remove?cache=pages\u0026id=\u0022,\r\n \u0022removeTemplateCache\u0022: \u0022/content/admin/remove?cache=templates\u0026id=\u0022,\r\n \u0022fileTransferFolder\u0022: \u0022/usr/local/tomcat/webapps/content/fileTransferFolder\u0022,\r\n \u0022lookInContext\u0022: 1,\r\n \u0022adminGroupID\u0022: 4,\r\n \u0022betaServer\u0022: true}}],\r\n \u0022servlet-mapping\u0022: {\r\n \u0022cofaxCDS\u0022: \u0022/\u0022,\r\n \u0022cofaxEmail\u0022: \u0022/cofaxutil/aemail/*\u0022,\r\n \u0022cofaxAdmin\u0022: \u0022/admin/*\u0022,\r\n \u0022fileServlet\u0022: \u0022/static/*\u0022,\r\n \u0022cofaxTools\u0022: \u0022/tools/*\u0022},\r\n \r\n \u0022taglib\u0022: {\r\n \u0022taglib-uri\u0022: \u0022cofax.tld\u0022,\r\n \u0022taglib-location\u0022: \u0022/WEB-INF/tlds/cofax.tld\u0022}}};","TestCases":[{"Name":"simpleStringify","Code":"simpleStringify(testData);","IsDeferred":false},{"Name":"JSON.stringify","Code":"JSON.stringify(testData)","IsDeferred":false}]}