test_2.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "string" : "lorem ipsum",
  3. "utf string" : "\u006corem\u0020ipsum",
  4. "utf-8 string": "あいうえお",
  5. "surrogate string": "lorem\uD834\uDD1Eipsum\uD834\uDF67lorem",
  6. "string with null": "abc\u0000def",
  7. "positive one" : 1,
  8. "negative one" : -1,
  9. "pi" : 3.14,
  10. "hard to parse number" : -3.14e-4,
  11. "big int": 2147483647,
  12. "big uint": 4294967295,
  13. "double underflow": 6.9041432094973937e-310,
  14. "boolean true" : true,
  15. "boolean false" : false,
  16. "null" : null,
  17. "string array" : ["lorem", "ipsum"],
  18. "x^2 array" : [0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100],
  19. "/*" : null,
  20. "object" : { "nested string" : "str",
  21. "nested true" : true,
  22. "nested false" : false,
  23. "nested null" : null,
  24. "nested number" : 123,
  25. "nested array" : ["lorem", "ipsum"],
  26. "nested object" : {"lorem": "ipsum"}
  27. },
  28. "*/" : null,
  29. "/**/" : "comment",
  30. "//" : "comment",
  31. "url" : "https:\/\/www.example.com\/search?q=12345",
  32. "escaped chars" : "\" \\ \/",
  33. "empty object" : {},
  34. "empty array" : [],
  35. }