omegastripes

https://stackoverflow.com/questions/49128652

Jun 14th, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. "items":
  3. {
  4. "item":
  5. [
  6. {
  7. "sequence": "0001",
  8. "variant": "donut",
  9. "name": "Cake",
  10. "ppu": 0.55,
  11. "batters":
  12. {
  13. "batter":
  14. [
  15. { "id": "1001", "type": "Regular" },
  16. { "id": "1002", "type": "Chocolate" },
  17. { "id": "1003", "type": "Blueberry" },
  18. { "id": "1004", "type": "Devil's Food" }
  19. ]
  20. },
  21. "topping":
  22. [
  23. { "id": "5001", "type": "None" },
  24. { "id": "5002", "type": "Glazed" },
  25. { "id": "5005", "type": "Sugar" },
  26. { "id": "5007", "type": "Powdered Sugar" },
  27. { "id": "5006", "type": "Chocolate with Sprinkles" },
  28. { "id": "5003", "type": "Chocolate" },
  29. { "id": "5004", "type": "Maple" }
  30. ]
  31. },
  32. {
  33. "sequence": "0002",
  34. "variant": "donut",
  35. "name": "Raised",
  36. "ppu": 0.55,
  37. "batters":
  38. {
  39. "batter":
  40. [
  41. { "id": "1001", "type": "Regular" }
  42. ]
  43. },
  44. "topping":
  45. [
  46. { "id": "5001", "type": "None" },
  47. { "id": "5002", "type": "Glazed" },
  48. { "id": "5005", "type": "Sugar" },
  49. { "id": "5003", "type": "Chocolate" },
  50. { "id": "5004", "type": "Maple" }
  51. ]
  52. },
  53.  
  54. {
  55. "sequence": "0003",
  56. "variant": "donut",
  57. "name": "Old Fashioned",
  58. "ppu": 0.55,
  59. "batters":
  60. {
  61. "batter":
  62. [
  63. { "id": "1001", "type": "Regular" },
  64. { "id": "1002", "type": "Chocolate" }
  65. ]
  66. },
  67. "topping":
  68. [
  69. { "id": "5001", "type": "None" },
  70. { "id": "5002", "type": "Glazed" },
  71. { "id": "5003", "type": "Chocolate" },
  72. { "id": "5004", "type": "Maple" }
  73. ]
  74. },
  75. {
  76. "seuqnece": "0004",
  77. "variant": "bar",
  78. "name": "Bar",
  79. "ppu": 0.75,
  80. "batters":
  81. {
  82. "batter":
  83. [
  84. { "id": "1001", "type": "Regular" },
  85. ]
  86. },
  87. "topping":
  88. [
  89. { "id": "5003", "type": "Chocolate" },
  90. { "id": "5004", "type": "Maple" }
  91. ],
  92. "fillings":
  93. {
  94. "filling":
  95. [
  96. { "id": "7001", "name": "None", "addcost": 0 },
  97. { "id": "7002", "name": "Custard", "addcost": 0.25 },
  98. { "id": "7003", "name": "Whipped Cream", "addcost": 0.25 }
  99. ]
  100. }
  101. },
  102.  
  103. {
  104. "sequence": "0005",
  105. "variant": "twist",
  106. "name": "Twist",
  107. "ppu": 0.65,
  108. "batters":
  109. {
  110. "batter":
  111. [
  112. { "id": "1001", "type": "Regular" },
  113. ]
  114. },
  115. "topping":
  116. [
  117. { "id": "5002", "type": "Glazed" },
  118. { "id": "5005", "type": "Sugar" },
  119. ]
  120. },
  121.  
  122. {
  123. "sequence": "0006",
  124. "variant": "filled",
  125. "name": "Filled",
  126. "ppu": 0.75,
  127. "batters":
  128. {
  129. "batter":
  130. [
  131. { "id": "1001", "type": "Regular" },
  132. ]
  133. },
  134. "topping":
  135. [
  136. { "id": "5002", "type": "Glazed" },
  137. { "id": "5007", "type": "Powdered Sugar" },
  138. { "id": "5003", "type": "Chocolate" },
  139. { "id": "5004", "type": "Maple" }
  140. ],
  141. "fillings":
  142. {
  143. "filling":
  144. [
  145. { "id": "7002", "name": "Custard", "addcost": 0 },
  146. { "id": "7003", "name": "Whipped Cream", "addcost": 0 },
  147. { "id": "7004", "name": "Strawberry Jelly", "addcost": 0 },
  148. { "id": "7005", "name": "Rasberry Jelly", "addcost": 0 }
  149. ]
  150. }
  151. }
  152. ]
  153. }
  154. }
Add Comment
Please, Sign In to add comment