Advertisement
Bcadren

Example JSON

Feb 13th, 2014
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. {
  2. "command_id": "preloadSettings",
  3. "medals": [
  4. {
  5. "medal_id": 29693,
  6. "medal_name": "Checking if I can do this ]",
  7. "medal_value": 0,
  8. "medal_difficulty": 1,
  9. "medal_unlocked": false,
  10. "medal_icon": "http://apifiles.ngfiles.com/medals/35000/35540/29693_checkingificandothis.jpg",
  11. "secret": 0,
  12. "medal_description": "Because it'd throw off the JSON parser all to hell ]"
  13. },
  14. {
  15. "medal_id": 29692,
  16. "medal_name": "Magic Bananas!",
  17. "medal_value": 0,
  18. "medal_difficulty": 1,
  19. "medal_unlocked": false,
  20. "medal_icon": "http://apifiles.ngfiles.com/medals/35000/35540/29692_magicbananas.jpg",
  21. "secret": 0,
  22. "medal_description": "Qrrbrbirlbel"
  23. },
  24. {
  25. "medal_id": 29694,
  26. "medal_name": "More symbols that would ruin my parser \" :",
  27. "medal_value": 0,
  28. "medal_difficulty": 1,
  29. "medal_unlocked": false,
  30. "medal_icon": "http://apifiles.ngfiles.com/medals/35000/35540/29694_moresymbolsthatwouldruinmyparser.jpg",
  31. "secret": 0,
  32. "medal_description": "} { 0123 ~!@#$%^&*()_+"
  33. },
  34. {
  35. "medal_id": 29640,
  36. "medal_name": "The Testing Medal",
  37. "medal_value": 5,
  38. "medal_difficulty": 1,
  39. "medal_unlocked": true,
  40. "medal_icon": "http://apifiles.ngfiles.com/medals/35000/35540/29640_thetestingmedal.jpg",
  41. "secret": 0,
  42. "medal_description": "Awards itself automatically."
  43. },
  44. {
  45. "medal_id": 29648,
  46. "medal_name": "An Arbitrary Medal",
  47. "medal_value": 0,
  48. "medal_difficulty": 4,
  49. "medal_unlocked": false,
  50. "medal_icon": "http://apifiles.ngfiles.com/medals/35000/35540/29648_anarbitrarymedal.png",
  51. "secret": 0,
  52. "medal_description": "Doesn't Award; I placed this so I could get a look at the 'getMedal()' JSON data when it has multiple medals."
  53. },
  54. {
  55. "medal_id": 29649,
  56. "medal_name": "Super Secret Medal 01010101",
  57. "medal_value": 0,
  58. "medal_difficulty": 5,
  59. "medal_unlocked": false,
  60. "medal_icon": "http://img.ngfiles.com/icons/medal_secret.png",
  61. "secret": 1,
  62. "medal_description": "Doesn't Award; I placed this so I could get a look at the 'getMedal()' JSON data when it has multiple medals."
  63. }
  64. ],
  65. "score_boards": [
  66. {
  67. "id": 4395,
  68. "name": "Luckiness"
  69. }
  70. ],
  71. "save_file_path": "http://www.ngads.com",
  72. "image_file_path": "http://apifiles.ngfiles.com/savedata",
  73. "save_groups": [
  74. {
  75. "group_id": 912,
  76. "group_name": "Test1",
  77. "group_type": 1,
  78. "keys": [],
  79. "ratings": []
  80. },
  81. {
  82. "group_id": 913,
  83. "group_name": "Test0",
  84. "group_type": 2,
  85. "keys": [
  86. {
  87. "id": 316,
  88. "name": "Apple",
  89. "type": 1
  90. },
  91. {
  92. "id": 315,
  93. "name": "Banana",
  94. "type": 3
  95. },
  96. {
  97. "id": 318,
  98. "name": "Cherry",
  99. "type": 4
  100. },
  101. {
  102. "id": 317,
  103. "name": "Mango",
  104. "type": 2
  105. }
  106. ],
  107. "ratings": [
  108. {
  109. "id": 152,
  110. "name": "Lapis Lazuli",
  111. "min": 0,
  112. "max": 100,
  113. "float": true
  114. },
  115. {
  116. "id": 153,
  117. "name": "Opal",
  118. "min": -128,
  119. "max": 127,
  120. "float": false
  121. }
  122. ]
  123. },
  124. {
  125. "group_id": 914,
  126. "group_name": "Test2",
  127. "group_type": 3,
  128. "keys": [],
  129. "ratings": []
  130. }
  131. ],
  132. "success": 1
  133. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement