fork download
  1. var Mapping = `{
  2. "mappings": {
  3. "properties": {
  4. "top": {
  5. "properties": {
  6. "topID": {
  7. "type": "text"
  8. },
  9. "question": {
  10. "type": "text"
  11. },
  12. "timestamp": {
  13. "type": "text"
  14. },
  15. "topic": {
  16. "type": "text"
  17. }
  18. }
  19. },
  20. "message": {
  21. "properties": {
  22. "chatID": {
  23. "type": "text"
  24. },
  25. "senderID": {
  26. "type": "text"
  27. },
  28. "text": {
  29. "type": "text"
  30. },
  31. "topID": {
  32. "type": "text"
  33. },
  34. "senderAnswer": {
  35. "type": "text"
  36. },
  37. "receiverAnswer": {
  38. "type": "text"
  39. },
  40. "timestamp": {
  41. "type": "text"
  42. }
  43. }
  44. },
  45. "user": {
  46. "properties": {
  47. "userID": {
  48. "type": "text"
  49. },
  50. "name": {
  51. "type": "text"
  52. }
  53. }
  54. },
  55. "chat": {
  56. "properties": {
  57. "chatID": {
  58. "type": "text"
  59. },
  60. "senderID": {
  61. "type": "text"
  62. },
  63. "receiverID": {
  64. "type": "text"
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }`
  71.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
var Mapping = `{
^
Main.java:1: error: illegal character: '`'
var Mapping = `{
              ^
Main.java:70: error: illegal character: '`'
  }`
   ^
3 errors
stdout
Standard output is empty