ffi-yajl 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +114 -30
  3. data/ext/ffi_yajl/ext/encoder/extconf.rb +5 -5
  4. data/ext/ffi_yajl/ext/parser/extconf.rb +5 -5
  5. data/lib/ffi_yajl/ffi.rb +2 -1
  6. data/lib/ffi_yajl/version.rb +1 -1
  7. data/spec/ffi_yajl/encoder_spec.rb +6 -6
  8. data/spec/ffi_yajl/json_gem_spec.rb +13 -13
  9. data/spec/ffi_yajl/parser_spec.rb +9 -9
  10. metadata +16 -174
  11. data/ext/libyajl2/extconf.rb +0 -60
  12. data/ext/libyajl2/vendored/.gitignore +0 -3
  13. data/ext/libyajl2/vendored/BUILDING +0 -23
  14. data/ext/libyajl2/vendored/BUILDING.win32 +0 -27
  15. data/ext/libyajl2/vendored/CMakeLists.txt +0 -79
  16. data/ext/libyajl2/vendored/COPYING +0 -13
  17. data/ext/libyajl2/vendored/ChangeLog +0 -175
  18. data/ext/libyajl2/vendored/README +0 -74
  19. data/ext/libyajl2/vendored/TODO +0 -9
  20. data/ext/libyajl2/vendored/YAJLDoc.cmake +0 -26
  21. data/ext/libyajl2/vendored/configure +0 -79
  22. data/ext/libyajl2/vendored/example/CMakeLists.txt +0 -23
  23. data/ext/libyajl2/vendored/example/README.md +0 -7
  24. data/ext/libyajl2/vendored/example/parse_config.c +0 -69
  25. data/ext/libyajl2/vendored/example/sample.config +0 -101
  26. data/ext/libyajl2/vendored/perf/CMakeLists.txt +0 -23
  27. data/ext/libyajl2/vendored/perf/documents.c +0 -1418
  28. data/ext/libyajl2/vendored/perf/documents.h +0 -28
  29. data/ext/libyajl2/vendored/perf/perftest.c +0 -134
  30. data/ext/libyajl2/vendored/reformatter/CMakeLists.txt +0 -39
  31. data/ext/libyajl2/vendored/reformatter/json_reformat.c +0 -194
  32. data/ext/libyajl2/vendored/src/CMakeLists.txt +0 -86
  33. data/ext/libyajl2/vendored/src/YAJL.dxy +0 -1258
  34. data/ext/libyajl2/vendored/src/api/yajl_common.h +0 -75
  35. data/ext/libyajl2/vendored/src/api/yajl_gen.h +0 -157
  36. data/ext/libyajl2/vendored/src/api/yajl_parse.h +0 -226
  37. data/ext/libyajl2/vendored/src/api/yajl_tree.h +0 -185
  38. data/ext/libyajl2/vendored/src/api/yajl_version.h.cmake +0 -23
  39. data/ext/libyajl2/vendored/src/yajl +0 -33
  40. data/ext/libyajl2/vendored/src/yajl.c +0 -175
  41. data/ext/libyajl2/vendored/src/yajl.pc.cmake +0 -9
  42. data/ext/libyajl2/vendored/src/yajl_alloc.c +0 -52
  43. data/ext/libyajl2/vendored/src/yajl_alloc.h +0 -34
  44. data/ext/libyajl2/vendored/src/yajl_buf.c +0 -103
  45. data/ext/libyajl2/vendored/src/yajl_buf.h +0 -57
  46. data/ext/libyajl2/vendored/src/yajl_bytestack.h +0 -69
  47. data/ext/libyajl2/vendored/src/yajl_encode.c +0 -220
  48. data/ext/libyajl2/vendored/src/yajl_encode.h +0 -34
  49. data/ext/libyajl2/vendored/src/yajl_gen.c +0 -354
  50. data/ext/libyajl2/vendored/src/yajl_lex.c +0 -763
  51. data/ext/libyajl2/vendored/src/yajl_lex.h +0 -117
  52. data/ext/libyajl2/vendored/src/yajl_parser.c +0 -498
  53. data/ext/libyajl2/vendored/src/yajl_parser.h +0 -78
  54. data/ext/libyajl2/vendored/src/yajl_tree.c +0 -503
  55. data/ext/libyajl2/vendored/src/yajl_version.c +0 -7
  56. data/ext/libyajl2/vendored/test/CMakeLists.txt +0 -23
  57. data/ext/libyajl2/vendored/test/cases/ac_difficult_json_c_test_case_with_comments.json +0 -1
  58. data/ext/libyajl2/vendored/test/cases/ac_difficult_json_c_test_case_with_comments.json.gold +0 -36
  59. data/ext/libyajl2/vendored/test/cases/ac_simple_with_comments.json +0 -11
  60. data/ext/libyajl2/vendored/test/cases/ac_simple_with_comments.json.gold +0 -9
  61. data/ext/libyajl2/vendored/test/cases/ag_false_then_garbage.json +0 -1
  62. data/ext/libyajl2/vendored/test/cases/ag_false_then_garbage.json.gold +0 -2
  63. data/ext/libyajl2/vendored/test/cases/ag_null_then_garbage.json +0 -1
  64. data/ext/libyajl2/vendored/test/cases/ag_null_then_garbage.json.gold +0 -2
  65. data/ext/libyajl2/vendored/test/cases/ag_true_then_garbage.json +0 -1
  66. data/ext/libyajl2/vendored/test/cases/ag_true_then_garbage.json.gold +0 -2
  67. data/ext/libyajl2/vendored/test/cases/am_eof.json +0 -1
  68. data/ext/libyajl2/vendored/test/cases/am_eof.json.gold +0 -4
  69. data/ext/libyajl2/vendored/test/cases/am_integers.json +0 -1
  70. data/ext/libyajl2/vendored/test/cases/am_integers.json.gold +0 -3
  71. data/ext/libyajl2/vendored/test/cases/am_multiple.json +0 -3
  72. data/ext/libyajl2/vendored/test/cases/am_multiple.json.gold +0 -5
  73. data/ext/libyajl2/vendored/test/cases/am_stuff.json +0 -7
  74. data/ext/libyajl2/vendored/test/cases/am_stuff.json.gold +0 -14
  75. data/ext/libyajl2/vendored/test/cases/ap_array_open.json +0 -1
  76. data/ext/libyajl2/vendored/test/cases/ap_array_open.json.gold +0 -2
  77. data/ext/libyajl2/vendored/test/cases/ap_eof_str.json +0 -1
  78. data/ext/libyajl2/vendored/test/cases/ap_eof_str.json.gold +0 -1
  79. data/ext/libyajl2/vendored/test/cases/ap_map_open.json +0 -1
  80. data/ext/libyajl2/vendored/test/cases/ap_map_open.json.gold +0 -2
  81. data/ext/libyajl2/vendored/test/cases/ap_partial_ok.json +0 -1
  82. data/ext/libyajl2/vendored/test/cases/ap_partial_ok.json.gold +0 -4
  83. data/ext/libyajl2/vendored/test/cases/array.json +0 -6
  84. data/ext/libyajl2/vendored/test/cases/array.json.gold +0 -22
  85. data/ext/libyajl2/vendored/test/cases/array_close.json +0 -1
  86. data/ext/libyajl2/vendored/test/cases/array_close.json.gold +0 -2
  87. data/ext/libyajl2/vendored/test/cases/bignums.json +0 -1
  88. data/ext/libyajl2/vendored/test/cases/bignums.json.gold +0 -5
  89. data/ext/libyajl2/vendored/test/cases/bogus_char.json +0 -4
  90. data/ext/libyajl2/vendored/test/cases/bogus_char.json.gold +0 -10
  91. data/ext/libyajl2/vendored/test/cases/codepoints_from_unicode_org.json +0 -1
  92. data/ext/libyajl2/vendored/test/cases/codepoints_from_unicode_org.json.gold +0 -2
  93. data/ext/libyajl2/vendored/test/cases/deep_arrays.json +0 -1
  94. data/ext/libyajl2/vendored/test/cases/deep_arrays.json.gold +0 -2049
  95. data/ext/libyajl2/vendored/test/cases/difficult_json_c_test_case.json +0 -1
  96. data/ext/libyajl2/vendored/test/cases/difficult_json_c_test_case.json.gold +0 -36
  97. data/ext/libyajl2/vendored/test/cases/doubles.json +0 -1
  98. data/ext/libyajl2/vendored/test/cases/doubles.json.gold +0 -7
  99. data/ext/libyajl2/vendored/test/cases/doubles_in_array.json +0 -1
  100. data/ext/libyajl2/vendored/test/cases/doubles_in_array.json.gold +0 -8
  101. data/ext/libyajl2/vendored/test/cases/empty_array.json +0 -1
  102. data/ext/libyajl2/vendored/test/cases/empty_array.json.gold +0 -3
  103. data/ext/libyajl2/vendored/test/cases/empty_string.json +0 -1
  104. data/ext/libyajl2/vendored/test/cases/empty_string.json.gold +0 -2
  105. data/ext/libyajl2/vendored/test/cases/escaped_bulgarian.json +0 -4
  106. data/ext/libyajl2/vendored/test/cases/escaped_bulgarian.json.gold +0 -7
  107. data/ext/libyajl2/vendored/test/cases/escaped_foobar.json +0 -1
  108. data/ext/libyajl2/vendored/test/cases/escaped_foobar.json.gold +0 -2
  109. data/ext/libyajl2/vendored/test/cases/false.json +0 -1
  110. data/ext/libyajl2/vendored/test/cases/false.json.gold +0 -2
  111. data/ext/libyajl2/vendored/test/cases/fg_false_then_garbage.json +0 -1
  112. data/ext/libyajl2/vendored/test/cases/fg_false_then_garbage.json.gold +0 -3
  113. data/ext/libyajl2/vendored/test/cases/fg_issue_7.json +0 -1
  114. data/ext/libyajl2/vendored/test/cases/fg_issue_7.json.gold +0 -3
  115. data/ext/libyajl2/vendored/test/cases/fg_null_then_garbage.json +0 -1
  116. data/ext/libyajl2/vendored/test/cases/fg_null_then_garbage.json.gold +0 -3
  117. data/ext/libyajl2/vendored/test/cases/fg_true_then_garbage.json +0 -1
  118. data/ext/libyajl2/vendored/test/cases/fg_true_then_garbage.json.gold +0 -3
  119. data/ext/libyajl2/vendored/test/cases/four_byte_utf8.json +0 -2
  120. data/ext/libyajl2/vendored/test/cases/four_byte_utf8.json.gold +0 -5
  121. data/ext/libyajl2/vendored/test/cases/high_overflow.json +0 -1
  122. data/ext/libyajl2/vendored/test/cases/high_overflow.json.gold +0 -2
  123. data/ext/libyajl2/vendored/test/cases/integers.json +0 -3
  124. data/ext/libyajl2/vendored/test/cases/integers.json.gold +0 -14
  125. data/ext/libyajl2/vendored/test/cases/invalid_utf8.json +0 -1
  126. data/ext/libyajl2/vendored/test/cases/invalid_utf8.json.gold +0 -3
  127. data/ext/libyajl2/vendored/test/cases/isolated_surrogate_marker.json +0 -1
  128. data/ext/libyajl2/vendored/test/cases/isolated_surrogate_marker.json.gold +0 -2
  129. data/ext/libyajl2/vendored/test/cases/leading_zero_in_number.json +0 -1
  130. data/ext/libyajl2/vendored/test/cases/leading_zero_in_number.json.gold +0 -5
  131. data/ext/libyajl2/vendored/test/cases/lonely_minus_sign.json +0 -7
  132. data/ext/libyajl2/vendored/test/cases/lonely_minus_sign.json.gold +0 -9
  133. data/ext/libyajl2/vendored/test/cases/lonely_number.json +0 -1
  134. data/ext/libyajl2/vendored/test/cases/lonely_number.json.gold +0 -2
  135. data/ext/libyajl2/vendored/test/cases/low_overflow.json +0 -1
  136. data/ext/libyajl2/vendored/test/cases/low_overflow.json.gold +0 -2
  137. data/ext/libyajl2/vendored/test/cases/map_close.json +0 -1
  138. data/ext/libyajl2/vendored/test/cases/map_close.json.gold +0 -2
  139. data/ext/libyajl2/vendored/test/cases/missing_integer_after_decimal_point.json +0 -1
  140. data/ext/libyajl2/vendored/test/cases/missing_integer_after_decimal_point.json.gold +0 -2
  141. data/ext/libyajl2/vendored/test/cases/missing_integer_after_exponent.json +0 -1
  142. data/ext/libyajl2/vendored/test/cases/missing_integer_after_exponent.json.gold +0 -2
  143. data/ext/libyajl2/vendored/test/cases/multiple.json +0 -3
  144. data/ext/libyajl2/vendored/test/cases/multiple.json.gold +0 -4
  145. data/ext/libyajl2/vendored/test/cases/non_utf8_char_in_string.json +0 -1
  146. data/ext/libyajl2/vendored/test/cases/non_utf8_char_in_string.json.gold +0 -8
  147. data/ext/libyajl2/vendored/test/cases/np_partial_bad.json +0 -1
  148. data/ext/libyajl2/vendored/test/cases/np_partial_bad.json.gold +0 -5
  149. data/ext/libyajl2/vendored/test/cases/null.json +0 -1
  150. data/ext/libyajl2/vendored/test/cases/null.json.gold +0 -2
  151. data/ext/libyajl2/vendored/test/cases/nulls_and_bools.json +0 -5
  152. data/ext/libyajl2/vendored/test/cases/nulls_and_bools.json.gold +0 -9
  153. data/ext/libyajl2/vendored/test/cases/simple.json +0 -5
  154. data/ext/libyajl2/vendored/test/cases/simple.json.gold +0 -9
  155. data/ext/libyajl2/vendored/test/cases/simple_with_comments.json +0 -11
  156. data/ext/libyajl2/vendored/test/cases/simple_with_comments.json.gold +0 -5
  157. data/ext/libyajl2/vendored/test/cases/string_invalid_escape.json +0 -1
  158. data/ext/libyajl2/vendored/test/cases/string_invalid_escape.json.gold +0 -3
  159. data/ext/libyajl2/vendored/test/cases/string_invalid_hex_char.json +0 -1
  160. data/ext/libyajl2/vendored/test/cases/string_invalid_hex_char.json.gold +0 -2
  161. data/ext/libyajl2/vendored/test/cases/string_with_escapes.json +0 -3
  162. data/ext/libyajl2/vendored/test/cases/string_with_escapes.json.gold +0 -7
  163. data/ext/libyajl2/vendored/test/cases/string_with_invalid_newline.json +0 -2
  164. data/ext/libyajl2/vendored/test/cases/string_with_invalid_newline.json.gold +0 -2
  165. data/ext/libyajl2/vendored/test/cases/three_byte_utf8.json +0 -1
  166. data/ext/libyajl2/vendored/test/cases/three_byte_utf8.json.gold +0 -7
  167. data/ext/libyajl2/vendored/test/cases/true.json +0 -1
  168. data/ext/libyajl2/vendored/test/cases/true.json.gold +0 -2
  169. data/ext/libyajl2/vendored/test/cases/unescaped_bulgarian.json +0 -1
  170. data/ext/libyajl2/vendored/test/cases/unescaped_bulgarian.json.gold +0 -4
  171. data/ext/libyajl2/vendored/test/cases/zerobyte.json +0 -1
  172. data/ext/libyajl2/vendored/test/cases/zerobyte.json.gold +0 -0
  173. data/ext/libyajl2/vendored/test/run_tests.sh +0 -94
  174. data/ext/libyajl2/vendored/test/yajl_test.c +0 -281
  175. data/ext/libyajl2/vendored/verify/CMakeLists.txt +0 -39
  176. data/ext/libyajl2/vendored/verify/json_verify.c +0 -116
  177. data/lib/libyajl.so +0 -0
  178. data/lib/libyajl.so.2 +0 -0
  179. data/lib/libyajl.so.2.0.5 +0 -0
  180. data/lib/libyajl_s.a +0 -0
@@ -1 +0,0 @@
1
- { "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": [ { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML", "markup"] } ] } } }
@@ -1,36 +0,0 @@
1
- map open '{'
2
- key: 'glossary'
3
- map open '{'
4
- key: 'title'
5
- string: 'example glossary'
6
- key: 'GlossDiv'
7
- map open '{'
8
- key: 'title'
9
- string: 'S'
10
- key: 'GlossList'
11
- array open '['
12
- map open '{'
13
- key: 'ID'
14
- string: 'SGML'
15
- key: 'SortAs'
16
- string: 'SGML'
17
- key: 'GlossTerm'
18
- string: 'Standard Generalized Markup Language'
19
- key: 'Acronym'
20
- string: 'SGML'
21
- key: 'Abbrev'
22
- string: 'ISO 8879:1986'
23
- key: 'GlossDef'
24
- string: 'A meta-markup language, used to create markup languages such as DocBook.'
25
- key: 'GlossSeeAlso'
26
- array open '['
27
- string: 'GML'
28
- string: 'XML'
29
- string: 'markup'
30
- array close ']'
31
- map close '}'
32
- array close ']'
33
- map close '}'
34
- map close '}'
35
- map close '}'
36
- memory leaks: 0
@@ -1 +0,0 @@
1
- [ 0.1e2, 1e1, 3.141569, 10000000000000e-10]
@@ -1,7 +0,0 @@
1
- array open '['
2
- double: 10
3
- double: 10
4
- double: 3.14157
5
- double: 1000
6
- array close ']'
7
- memory leaks: 0
@@ -1 +0,0 @@
1
- [0.00011999999999999999, 6E-06, 6E-06, 1E-06, 1E-06]
@@ -1,8 +0,0 @@
1
- array open '['
2
- double: 0.00012
3
- double: 6e-06
4
- double: 6e-06
5
- double: 1e-06
6
- double: 1e-06
7
- array close ']'
8
- memory leaks: 0
@@ -1,3 +0,0 @@
1
- array open '['
2
- array close ']'
3
- memory leaks: 0
@@ -1,2 +0,0 @@
1
- string: ''
2
- memory leaks: 0
@@ -1,4 +0,0 @@
1
- ["\u0414\u0430",
2
- "\u041c\u0443",
3
- "\u0415\u0431\u0430",
4
- "\u041c\u0430\u0439\u043a\u0430\u0442\u0430"]
@@ -1,7 +0,0 @@
1
- array open '['
2
- string: 'Да'
3
- string: 'Му'
4
- string: 'Еба'
5
- string: 'Майката'
6
- array close ']'
7
- memory leaks: 0
@@ -1 +0,0 @@
1
- "\u0066\u006f\u006f\u0062\u0061\u0072"
@@ -1,2 +0,0 @@
1
- string: 'foobar'
2
- memory leaks: 0
@@ -1 +0,0 @@
1
- false
@@ -1,2 +0,0 @@
1
- bool: false
2
- memory leaks: 0
@@ -1,3 +0,0 @@
1
- bool: false
2
- parse error: trailing garbage
3
- memory leaks: 0
@@ -1 +0,0 @@
1
- 2009-10-20@20:38:21.539575
@@ -1,3 +0,0 @@
1
- integer: 2009
2
- parse error: trailing garbage
3
- memory leaks: 0
@@ -1,3 +0,0 @@
1
- null
2
- parse error: trailing garbage
3
- memory leaks: 0
@@ -1,3 +0,0 @@
1
- bool: true
2
- parse error: trailing garbage
3
- memory leaks: 0
@@ -1,2 +0,0 @@
1
- { "U+10ABCD": "􊯍" }
2
-
@@ -1,5 +0,0 @@
1
- map open '{'
2
- key: 'U+10ABCD'
3
- string: '􊯍'
4
- map close '}'
5
- memory leaks: 0
@@ -1 +0,0 @@
1
- 9223372036854775808
@@ -1,2 +0,0 @@
1
- parse error: integer overflow
2
- memory leaks: 0
@@ -1,3 +0,0 @@
1
- [ 1,2,3,4,5,6,7,
2
- 123456789 , -123456789,
3
- 2147483647, -2147483647 ]
@@ -1,14 +0,0 @@
1
- array open '['
2
- integer: 1
3
- integer: 2
4
- integer: 3
5
- integer: 4
6
- integer: 5
7
- integer: 6
8
- integer: 7
9
- integer: 123456789
10
- integer: -123456789
11
- integer: 2147483647
12
- integer: -2147483647
13
- array close ']'
14
- memory leaks: 0
@@ -1 +0,0 @@
1
- ["Да М� Еба Майката"]
@@ -1,3 +0,0 @@
1
- array open '['
2
- lexical error: invalid bytes in UTF8 string.
3
- memory leaks: 0
@@ -1,2 +0,0 @@
1
- string: '?'
2
- memory leaks: 0
@@ -1 +0,0 @@
1
- { "bad thing": 01 }
@@ -1,5 +0,0 @@
1
- map open '{'
2
- key: 'bad thing'
3
- integer: 0
4
- parse error: after key and value, inside map, I expect ',' or '}'
5
- memory leaks: 0
@@ -1,7 +0,0 @@
1
- [
2
- "foo", true,
3
- true, "blue",
4
- "baby where are you?", "oh boo hoo!",
5
- -
6
- ]
7
-
@@ -1,9 +0,0 @@
1
- array open '['
2
- string: 'foo'
3
- bool: true
4
- bool: true
5
- string: 'blue'
6
- string: 'baby where are you?'
7
- string: 'oh boo hoo!'
8
- lexical error: malformed number, a digit is required after the minus sign.
9
- memory leaks: 0
@@ -1 +0,0 @@
1
- 123456789
@@ -1,2 +0,0 @@
1
- integer: 123456789
2
- memory leaks: 0
@@ -1 +0,0 @@
1
- -9223372036854775808
@@ -1,2 +0,0 @@
1
- parse error: integer overflow
2
- memory leaks: 0
@@ -1,2 +0,0 @@
1
- parse error: unallowed token at this point in JSON text
2
- memory leaks: 0
@@ -1,2 +0,0 @@
1
- lexical error: malformed number, a digit is required after the decimal point.
2
- memory leaks: 0
@@ -1,2 +0,0 @@
1
- lexical error: malformed number, a digit is required after the exponent.
2
- memory leaks: 0
@@ -1,3 +0,0 @@
1
-
2
- {}
3
- {}
@@ -1,4 +0,0 @@
1
- map open '{'
2
- map close '}'
3
- parse error: trailing garbage
4
- memory leaks: 0
@@ -1 +0,0 @@
1
- {"CoreletAPIVersion":2,"CoreletType":"standalone","documentation":"A corelet that provides the capability to upload a folder�s contents into a user�s locker.","functions":[{"documentation":"Displays a dialog box that allows user to select a folder on the local system.","name":"ShowBrowseDialog","parameters":[{"documentation":"The callback function for results.","name":"callback","required":true,"type":"callback"}]},{"documentation":"Uploads all mp3 files in the folder provided.","name":"UploadFolder","parameters":[{"documentation":"The path to upload mp3 files from.","name":"path","required":true,"type":"string"},{"documentation":"The callback function for progress.","name":"callback","required":true,"type":"callback"}]},{"documentation":"Returns the server name to the current locker service.","name":"GetLockerService","parameters":[]},{"documentation":"Changes the name of the locker service.","name":"SetLockerService","parameters":[{"documentation":"The value of the locker service to set active.","name":"LockerService","required":true,"type":"string"}]},{"documentation":"Downloads locker files to the suggested folder.","name":"DownloadFile","parameters":[{"documentation":"The origin path of the locker file.","name":"path","required":true,"type":"string"},{"documentation":"The Window destination path of the locker file.","name":"destination","required":true,"type":"integer"},{"documentation":"The callback function for progress.","name":"callback","required":true,"type":"callback"}]}],"name":"LockerUploader","version":{"major":0,"micro":1,"minor":0},"versionString":"0.0.1"}
@@ -1,8 +0,0 @@
1
- map open '{'
2
- key: 'CoreletAPIVersion'
3
- integer: 2
4
- key: 'CoreletType'
5
- string: 'standalone'
6
- key: 'documentation'
7
- lexical error: invalid bytes in UTF8 string.
8
- memory leaks: 0
@@ -1 +0,0 @@
1
- [ "foo", "bar"
@@ -1,5 +0,0 @@
1
- array open '['
2
- string: 'foo'
3
- string: 'bar'
4
- parse error: premature EOF
5
- memory leaks: 0
@@ -1 +0,0 @@
1
- null
@@ -1,2 +0,0 @@
1
- null
2
- memory leaks: 0
@@ -1,5 +0,0 @@
1
- {
2
- "boolean, true": true,
3
- "boolean, false": false,
4
- "null": null
5
- }
@@ -1,9 +0,0 @@
1
- map open '{'
2
- key: 'boolean, true'
3
- bool: true
4
- key: 'boolean, false'
5
- bool: false
6
- key: 'null'
7
- null
8
- map close '}'
9
- memory leaks: 0
@@ -1,5 +0,0 @@
1
- {
2
- "this": "is",
3
- "really": "simple",
4
- "json": "right?"
5
- }
@@ -1,9 +0,0 @@
1
- map open '{'
2
- key: 'this'
3
- string: 'is'
4
- key: 'really'
5
- string: 'simple'
6
- key: 'json'
7
- string: 'right?'
8
- map close '}'
9
- memory leaks: 0
@@ -1,11 +0,0 @@
1
- {
2
- "this": "is", // ignore this
3
- "really": "simple",
4
- /* ignore
5
- this
6
- too * /
7
- ** //
8
- (/
9
- ******/
10
- "json": "right?"
11
- }
@@ -1,5 +0,0 @@
1
- map open '{'
2
- key: 'this'
3
- string: 'is'
4
- lexical error: probable comment found in input text, comments are not enabled.
5
- memory leaks: 0
@@ -1 +0,0 @@
1
- ["\n foo \/ bar \r\f\\\uffff\t\b\"\\ and you can't escape thi\s"]
@@ -1,3 +0,0 @@
1
- array open '['
2
- lexical error: inside a string, '\' occurs before a character which it may not.
3
- memory leaks: 0
@@ -1 +0,0 @@
1
- "foo foo, blah blah \u0123 \u4567 \u89ab \uc/ef \uABCD \uEFFE bar baz bing"
@@ -1,2 +0,0 @@
1
- lexical error: invalid (non-hex) character occurs after '\u' inside string.
2
- memory leaks: 0
@@ -1,3 +0,0 @@
1
- ["\n foo \/ bar \r\f\\\uffff\t\b\"\\",
2
- "\"and this string has an escape at the beginning",
3
- "and this string has no escapes" ]
@@ -1,7 +0,0 @@
1
- array open '['
2
- string: '
3
- foo / bar
4
- string: '"and this string has an escape at the beginning'
5
- string: 'and this string has no escapes'
6
- array close ']'
7
- memory leaks: 0
@@ -1,2 +0,0 @@
1
- "la di dah. this is a string, and I can do this, \n, but not this
2
- "
@@ -1,2 +0,0 @@
1
- lexical error: invalid character inside string.
2
- memory leaks: 0
@@ -1 +0,0 @@
1
- {"matzue": "松江", "asakusa": "浅草"}
@@ -1,7 +0,0 @@
1
- map open '{'
2
- key: 'matzue'
3
- string: '松江'
4
- key: 'asakusa'
5
- string: '浅草'
6
- map close '}'
7
- memory leaks: 0
@@ -1 +0,0 @@
1
- true
@@ -1,2 +0,0 @@
1
- bool: true
2
- memory leaks: 0
@@ -1 +0,0 @@
1
- ["Да Му Еба Майката"]
@@ -1,4 +0,0 @@
1
- array open '['
2
- string: 'Да Му Еба Майката'
3
- array close ']'
4
- memory leaks: 0