Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. {
  2. "ArticleCount": 22,
  3. "Articles": [{
  4. "ArticleAbstractTeaser": null,
  5. "ArticleActiveDate": null
  6. "Authors": [{
  7. "AuthorTypeId": 1,
  8. "CorrespondenceInformation": null,
  9.  
  10. }],
  11. "Blurb": null,
  12. "CmeUrls": [],
  13. "Links": [{
  14.  
  15. "LinkType": "jumplink"
  16.  
  17. },
  18. {
  19.  
  20. "LinkType": "figure",
  21.  
  22. },
  23. {
  24.  
  25. "LinkType": "figure"
  26.  
  27. },
  28. {
  29.  
  30. "LinkType": "figure"
  31.  
  32. }
  33. ],
  34. "Ordinal": 0,
  35. "PdfOnlyMessage": "",
  36.  
  37. "Topics": [{
  38. "Score": 0,
  39. "Topic": "ISSUE @ A GLANCE"
  40.  
  41. }],
  42. "VideoUrls": null,
  43. "Volume": "38"
  44.  
  45.  
  46. }, {
  47. "ArticleAbstractTeaser": null,
  48. "ArticleActiveDate": null,
  49. "Authors": [],
  50. "Blurb": null,
  51. "CmeUrls": [],
  52.  
  53. "Links": [{
  54.  
  55. "LinkType": "figure"
  56.  
  57. }],
  58. "Ordinal": 1,
  59. "PdfOnlyMessage": "",
  60.  
  61. "Topics": [{
  62. "Score": 0,
  63. "Topic": "CardioPulse",
  64.  
  65. }],
  66.  
  67. "VideoUrls": null,
  68. "Volume": "38"
  69. }]
  70. }
  71.  
  72. {{.datasource JSONVar type=variable maxrows=20}}
  73. {{.data}}
  74. { "target" : "@json" }
  75. {{/data}}
  76. ArticleCount: {{ArticleCount}}<br/>
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83. {{.datasource Articles type=nested maxrows=20}}
  84. {{.data}}
  85. { "target" : "JsonVar.Articles" }
  86. {{/data}}
  87.  
  88. ArticleAbstractTeaser:{{ArticleAbstractTeaser}}<br/>
  89. ArticleActiveDate:{{ArticleActiveDate}}<br/>
  90.  
  91.  
  92.  
  93.  
  94.  
  95. {{.datasource Authors type=nested maxrows=20}}
  96. {{.data}}
  97. { "target" : "Articles.Authors" }
  98. {{/data}}
  99.  
  100. {{#if notempty(Authors)}}
  101.  
  102.  
  103. AuthorTypeId:{{AuthorTypeId}}<br/>
  104. CorrespondenceInformation:{{CorrespondenceInformation}}<br/>
  105.  
  106.  
  107. {{.else}}
  108. {{/datasource}}
  109. {{/if}}
  110.  
  111. Blurb:{{Blurb}}<br/>
  112. CmeUrls:{{CmeUrls}}<br/>
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119. {{.dataobject JsonVar100 type=variable maxrows = 20}}
  120. {{.data}}
  121. {"target":"@Json"}
  122. {{/data}}
  123.  
  124.  
  125. {{/dataobject}}
  126. {{#each JsonVar100}}
  127. {{.datasource JSONPhone type=nested maxRows =20}}
  128.  
  129. {{.data}}
  130. { "target" :"Articles.Links" }
  131.  
  132. {{/data}}
  133.  
  134.  
  135.  
  136. LinkType:{{JSONPhone.LinkType}}<br/>
  137.  
  138. {{/datasource}}
  139. {{/each}}
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146. {{.datasource Authors1 type=nested maxrows=20}}
  147. {{.data}}
  148. { "target" : "JsonVar.Articles" }
  149. {{/data}}
  150. {{/datasource}}
  151.  
  152. Ordinal:{{Ordinal}}<br/>
  153. PdfOnlyMessage:{{PdfOnlyMessage}}<br/>
  154.  
  155.  
  156.  
  157.  
  158. {{.datasource Authors1 type=nested maxrows=1}}
  159. {{.data}}
  160. { "target" : "JsonVar.Articles" }
  161. {{/data}}
  162. {{.datasource Topics type=nested maxrows=1}}
  163. {{.data}}
  164. { "target" : "Articles.Topics" }
  165. {{/data}}
  166. Score:{{Score}}<br/>
  167. Topic:{{Topic}}<br/>
  168.  
  169. {{/datasource}}
  170. {{/datasource}}
  171.  
  172.  
  173. VideoUrls:{{VideoUrls}}<br/>
  174. Volume:{{Volume}}<br/>
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181. {{/datasource}}
  182. {{/datasource}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement