summaryrefslogtreecommitdiffstats
path: root/tests/009/json.expected
blob: e9d2e6449f0dd7f3e56a84733c547882e5fcd7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
AST: (("web-app" (("servlet" #((("servlet-name" "cofaxCDS") ("servlet-class" "org.cofax.cds.CDSServlet")
                                ("init-param" (("configGlossary:installationAt" "Philadelphia, PA") ("configGlossary:adminEmail" "ksm@pobox.com")
                                               ("configGlossary:poweredBy" "Cofax") ("configGlossary:poweredByIcon" "/images/cofax.gif")
                                               ("configGlossary:staticPath" "/content/static") ("templateProcessorClass" "org.cofax.WysiwygTemplate")
                                               ("templateLoaderClass" "org.cofax.FilesTemplateLoader") ("templatePath" "templates")
                                               ("templateOverridePath" "") ("defaultListTemplate" "listTemplate.htm")
                                               ("defaultFileTemplate" "articleTemplate.htm") ("useJSP" :false)
                                               ("jspListTemplate" "listTemplate.jsp") ("jspFileTemplate" "articleTemplate.jsp")
                                               ("cachePackageTagsTrack" 200.0) ("cachePackageTagsStore" 200.0)
                                               ("cachePackageTagsRefresh" 60.0) ("cacheTemplatesTrack" 100.0)
                                               ("cacheTemplatesStore" 50.0) ("cacheTemplatesRefresh" 15.0) ("cachePagesTrack" 200.0)
                                               ("cachePagesStore" 100.0) ("cachePagesRefresh" 10.0) ("cachePagesDirtyRead" 10.0)
                                               ("searchEngineListTemplate" "forSearchEnginesList.htm") ("searchEngineFileTemplate" "forSearchEngines.htm")
                                               ("searchEngineRobotsDb" "WEB-INF/robots.db") ("useDataStore" :true)
                                               ("dataStoreClass" "org.cofax.SqlDataStore") ("redirectionClass" "org.cofax.SqlRedirection")
                                               ("dataStoreName" "cofax") ("dataStoreDriver" "com.microsoft.jdbc.sqlserver.SQLServerDriver")
                                               ("dataStoreUrl" "jdbc:microsoft:sqlserver://LOCALHOST:1433;DatabaseName=goon")
                                               ("dataStoreUser" "sa") ("dataStorePassword" "dataStoreTestQuery")
                                               ("dataStoreTestQuery" "SET NOCOUNT ON;select test='test';") ("dataStoreLogFile" "/usr/local/tomcat/logs/datastore.log")
                                               ("dataStoreInitConns" 10.0) ("dataStoreMaxConns" 100.0) ("dataStoreConnUsageLimit" 100.0)
                                               ("dataStoreLogLevel" "debug") ("maxUrlLength" 500.0))))
                               (("servlet-name" "cofaxEmail") ("servlet-class" "org.cofax.cds.EmailServlet")
                                ("init-param" (("mailHost" "mail1") ("mailHostOverride" "mail2"))))
                               (("servlet-name" "cofaxAdmin") ("servlet-class" "org.cofax.cds.AdminServlet"))
                               (("servlet-name" "fileServlet") ("servlet-class" "org.cofax.cds.FileServlet"))
                               (("servlet-name" "cofaxTools") ("servlet-class" "org.cofax.cms.CofaxToolsServlet")
                                ("init-param" (("templatePath" "toolstemplates/") ("log" 1.0) ("logLocation" "/usr/local/tomcat/logs/CofaxTools.log")
                                               ("logMaxSize" "") ("dataLog" 1.0) ("dataLogLocation" "/usr/local/tomcat/logs/dataLog.log")
                                               ("dataLogMaxSize" "") ("removePageCache" "/content/admin/remove?cache=pages&id=")
                                               ("removeTemplateCache" "/content/admin/remove?cache=templates&id=")
                                               ("fileTransferFolder" "/usr/local/tomcat/webapps/content/fileTransferFolder")
                                               ("lookInContext" 1.0) ("adminGroupID" 4.0) ("betaServer" :true))))))
                  ("servlet-mapping" (("cofaxCDS" "/") ("cofaxEmail" "/cofaxutil/aemail/*") ("cofaxAdmin" "/admin/*")
                                      ("fileServlet" "/static/*") ("cofaxTools" "/tools/*")))
                  ("taglib" (("taglib-uri" "cofax.tld") ("taglib-location" "/WEB-INF/tlds/cofax.tld"))))))

Unmatched junk: ""

AST: #("JSON Test Pattern pass1" (("object with 1 member" #("array with 1 element")))
       nil #() -42.0 :true :false :null (("integer" 1234567890.0) ("real" -9876.54321) ("e" 1.23456789e-13)
                                         ("E" 1.23456789e34) ("" 2.3456789012e76) ("zero" 0.0) ("one" 1.0)
                                         ("space" " ") ("quote" "\"") ("backslash" "\\\\") ("controls" "\b\f\n\r\t")
                                         ("slash" "/ & \\/") ("alpha" "abcdefghijklmnopqrstuvwyz") ("ALPHA" "ABCDEFGHIJKLMNOPQRSTUVWYZ")
                                         ("digit" "0123456789") ("0123456789" "digit") ("special" "`1~!@#$%^&*()_+-={':[,]}|;.</>?")
                                         ("hex" "ģ䕧覫췯ꯍ") ("true" :true) ("false" :false) ("null" :null)
                                         ("array" #()) ("object" nil) ("address" "50 St. James Street")
                                         ("url" "http://www.JSON.org/") ("comment" "// /* <!-- --") ("# -- --> */" " ")
                                         (" s p a c e d " #(1.0 2.0 3.0 4.0 5.0 6.0 7.0)) ("compact" #(1.0 2.0 3.0 4.0 5.0 6.0 7.0))
                                         ("jsontext" "{\"object with 1 member\":[\"array with 1 element\"]}")
                                         ("quotes" "&#34; \" %22 0x22 034 &#x22;") ("\\/\\\\\"쫾몾ꮘﳞ볚\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
                                                                                    "A key can be any string"))
       0.5 98.6 99.44 1066.0 10.0 1.0 0.1 1.0 2.0 2.0 "rosebud")

Unmatched junk: ""