Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   var jsonData = {
  2.     "PageContent": {
  3.       "BodyText": "Valitse jokin seuraavista vaihtoehdoista",
  4.       "Button": [
  5.         {
  6.           "Text": "Vaihtoehto 1",
  7.           "Value": "1-1"
  8.         },
  9.         {
  10.           "Text": "Vaihtoehto 2 pidempään tekstiä ja jotain ja jotain",
  11.           "Value": "1-2"
  12.         }
  13.       ]
  14.     }
  15.   }
  16.  
  17.  
  18.  
  19.   var jsonData2 = {
  20.     "PageContent": {
  21.       "BodyText": "Lisää vaihtoehtoja ja pidempi BodyText jsdlkf jlsjadf alsdkj falsdkjf lsdakjf lsdajk flsdajk flsadj fldsajf klsdj flasdj f",
  22.       "Button": [
  23.         {
  24.           "Text": "VaihtoEhto A",
  25.           "Value": "2-A"
  26.         },
  27.         {
  28.           "Text": "VaihtoEhto B",
  29.           "Value": "2-B"
  30.         },
  31.         {
  32.           "Text": "VaihtoEhto C",
  33.           "Value": "2-C"
  34.         }
  35.       ]
  36.     }
  37.   }
  38.  
  39.  
  40.  
  41.   var jsonData3 = {
  42.     "PageContent": {
  43.       "BodyText": "Useampi vaihtoehto",
  44.       "Button": [
  45.         {
  46.           "Text": "Vaihtoehto 1",
  47.           "Value": "3-1"
  48.         },
  49.         {
  50.           "Text": "Vaihtoehto 2",
  51.           "Value": "3-2"
  52.         },
  53.         {
  54.           "Text": "Vaihtoehto 3",
  55.           "Value": "3-3"
  56.         },
  57.         {
  58.           "Text": "Vaihtoehto 4",
  59.           "Value": "3-4"
  60.         },
  61.         {
  62.           "Text": "Vaihtoehto 5",
  63.           "Value": "3-5"
  64.         },
  65.         {
  66.           "Text": "Vaihtoehto 6",
  67.           "Value": "3-6"
  68.         },
  69.         {
  70.           "Text": "Vaihtoehto 7",
  71.           "Value": "3-7"
  72.         },
  73.         {
  74.           "Text": "Vaihtoehto 8",
  75.           "Value": "3-8"
  76.         }
  77.       ]
  78.     }
  79.   }
  80.  
  81.  
  82.  
  83.   var jsonData4 = {
  84.     "PageContent": {
  85.       "BodyText": "Loppu (ei buttoneita)"
  86.     }
  87.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement