Unit Tests

- Added JSON samples to test the parser.
This commit is contained in:
Paul Beckingham 2011-05-22 14:41:40 -04:00
parent df1920d75c
commit f669b5f56f
22 changed files with 756 additions and 8 deletions

23
test/json/1.json Normal file
View file

@ -0,0 +1,23 @@
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986",
"GlossDef": {
"para": "A meta-markup language, used to create markup languages such as DocBook.",
"GlossSeeAlso": ["GML", "XML"]
},
"GlossSee": "markup"
}
}
}
}
}