test_1_1.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [
  2. "JSON Test Pattern pass1",
  3. {"object with 1 member":["array with 1 element"]},
  4. {},
  5. [],
  6. -42,
  7. true,
  8. false,
  9. null,
  10. {
  11. "integer": 1234567890,
  12. "real": -9876.543210,
  13. "e": 0.123456789e-12,
  14. "E": 1.234567890E+34,
  15. "": 23456789012E66,
  16. "zero": 0,
  17. "one": 1,
  18. "space": " ",
  19. "quote": "\"",
  20. "backslash": "\\",
  21. "controls": "\b\f\n\r\t",
  22. "slash": "/ & \/",
  23. "alpha": "abcdefghijklmnopqrstuvwyz",
  24. "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
  25. "digit": "0123456789",
  26. "0123456789": "digit",
  27. "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
  28. "nullchar": "abc\u0000def",
  29. "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
  30. "true": true,
  31. "false": false,
  32. "null": null,
  33. "array":[ ],
  34. "object":{ },
  35. "address": "50 St. James Street",
  36. "url": "http://www.JSON.org/",
  37. "comment": "// /* <!-- --",
  38. "# -- --> */": " ",
  39. " s p a c e d " :[1,2 , 3
  40. ,
  41. 4 , 5 , 6 ,7 ],"compact":[1,2,3,4,5,6,7],
  42. "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
  43. "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
  44. "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
  45. : "A key can be any string"
  46. },
  47. 0.5 ,98.6
  48. ,
  49. 99.44
  50. ,
  51. 1066,
  52. 1e1,
  53. 0.1e1,
  54. 1e-1,
  55. 1e00,2e+00,2e-00
  56. ,"rosebud"]