I have a DCE content element and now I need to add a json object inside this template with the text from the variables.
I tried many ways like
<f:format.raw>{</f:format.raw>
or
<f:format.alias map="{l: '{}', r: '}'}"> { json } </f:format.alias>
but nothing works.
<dce:format.WrapWithCurlyBraces>json</dce:format.WrapWithCurlyBraces>
was my last test but this generates an empty output. Is there any way to output some json with the variables from the dce inside?
<f:format.json>{"context": "https://schema.org/"}</f:format.json>
also tested, generates also an empty output.
DCE Version: 2.6.0
TYPO3: 9.5
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…