Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
2.8 KiB

  1. /***
  2. {},
  3. [],
  4. { "foo" : "bar",
  5. "bar" : 1},
  6. [42],
  7. [
  8. "\u0001\u0002\u0003\uD834\uDD1E",
  9. "\uCDEF\uabcd\uef4A" ,
  10. {
  11. "real": -9876.543210,
  12. "e": 0.123456789e-12,
  13. "E": 1.234567890E+34,
  14. "": 23456789012E66,
  15. "zero": 0,
  16. "one": 1,
  17. "space": " ",
  18. "quote": "\"",
  19. "backslash": "\\",
  20. "controls": "\b\f\n\r\t",
  21. "slash": "/ & \/",
  22. "alpha": "abcdefghijklmnopqrstuvwyz",
  23. "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
  24. "digit": "0123456789",
  25. "0123456789": "digit",
  26. "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
  27. "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
  28. "true": true,
  29. "false": false,
  30. "null": null,
  31. "array":[ ],
  32. "object":{ },
  33. "address": "50 St. James Street",
  34. "url": "http://www.JSON.org/",
  35. "comment": "// /* <!-- --",
  36. }
  37. ]]]]]]]]]]]
  38. ***/[
  39. "\u0001\u0002\u0003\uD834\uDD1E",
  40. "\uCDEF\uabcd\uef4A" ,
  41. /**/-42/**/,/**/
  42. /**/ true/**/,
  43. /**/ false/**/,
  44. /**/ null/*\*/,
  45. /**/ "JSON Test Pattern pass1"/**/, /**/
  46. /**/{ /**/ /**/ "object with 1 member"/**/:/**/ [/**/"array with 1 element"/**/]/**/ /**/ } /**/, /**/
  47. {},
  48. [],
  49. { "foo" : "bar",
  50. "bar" : 1},
  51. [42],
  52. {
  53. "integer"/**/: /**/ /**/1234567890/*
  54. {
  55. "e": 0.123456789e-12,
  56. "E": 1.234567890E+34,
  57. "": 23456789012E66,
  58. "zero": 0,
  59. }
  60. */,
  61. "real": -9876.543210/**/,
  62. "e": 0.123456789e-12,
  63. "E": 1.234567890E+34,
  64. "": 23456789012E66,
  65. "zero": 0,
  66. "one": 1,
  67. "space": " ",
  68. "quote": "\"",
  69. "backslash": "\\",
  70. "controls": "\b\f\n\r\t",
  71. "slash": "/ & \/",
  72. "alpha": "abcdefghijklmnopqrstuvwyz",
  73. "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
  74. "digit": "0123456789",
  75. "0123456789": "digit",
  76. "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
  77. "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
  78. "true": true,
  79. "false": false,
  80. "null": null,
  81. "array":[ ],
  82. "object":{ },
  83. "address": "50 St. James Street",
  84. "url": "http://www.JSON.org/",
  85. "comment": "// /* <!-- --",
  86. "# -- --> */": " ",
  87. " s p a c e d " :[1,2 , 3
  88. ,
  89. 4 , 5 , 6 ,7 ],"compact":[1,2,3,4,5,6,7],
  90. "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
  91. "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
  92. "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
  93. : "A key can be any string"
  94. },
  95. 0.5 ,98.6
  96. ,
  97. 99.44
  98. ,
  99. 1066,
  100. 1e1,
  101. 0.1e1,
  102. 1e-1,
  103. 1e00,2e+00,2e-00
  104. ,"rosebud", "\u005C"]/** ******/