mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-27 11:21:02 +08:00
645cd0412c
* cleaning up the logic for parsing numbers * Add Testcases for new Reader in jsontestrunner
27 lines
505 B
JSON
27 lines
505 B
JSON
{
|
|
/* C-style comment
|
|
|
|
C-style-2 comment */
|
|
"c-test" : {
|
|
"a" : 1,
|
|
/* Internal comment c-style */
|
|
"b" : 2
|
|
},
|
|
// C++-style comment
|
|
"cpp-test" : {
|
|
// Multiline comment cpp-style
|
|
// Second line
|
|
"c" : 3,
|
|
// Comment before double
|
|
"d" : 4.1,
|
|
// Comment before string
|
|
"e" : "e-string",
|
|
// Comment before true
|
|
"f" : true,
|
|
// Comment before false
|
|
"g" : false,
|
|
// Comment before null
|
|
"h" : null
|
|
}
|
|
}
|