Changes for page Macros

Last modified by Jip-jan Alunkel on April 15, 18:09

From version 2.202
edited by Jip-jan Alunkel
on July 14, 01:55
Change comment: Update document after refactoring.
To version 2.200
edited by Jip-jan Alunkel
on July 14, 01:53
Change comment: Update document after refactoring.

Summary

Details

Page properties
Content
... ... @@ -174,8 +174,8 @@
174 174   #else
175 175   #set($jsondoc = $xwiki.getDocument($O_elementData.select-json))
176 176  ## #set($discard = $jsondoc.setContentType('application/json'))
177 -## #set($json = $jsontool.serialize($jsondoc.getContent()))
178 - #set($j = $jsontool.fromString($jsontool.serialize($jsondoc.getContent())))
177 + #set($json = $jsontool.serialize($jsondoc.getContent()))
178 + #set($j = $jsontool.fromString($json))
179 179  #set($assign = "$escapetool.getHash()set($map = $j)")
180 180  #evaluate($assign)
181 181