TiddlyWiki5/editions/tw5.com/tiddlers/test-jsonvariable-conat.tid

41 lines
895 B
Plaintext

created: 20240506101435113
modified: 20240506140610448
tags:
title: test-jsonvariable-conat
type: text/vnd.tiddlywiki
''Nice to have''
<<.example 1 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariable[]]}}}/></pre>
""">>
''Human readable version''
<<.example 2 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariable[]format:json<tab>]}}}/></pre>
""">>
''Function definition''
<<.example 3 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariable[]jsonextract[srcVariable],[value]format:json<tab>]}}}/></pre>
""">>
''Get parameters''
<<.example 4 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]jsonvariable[]jsonextract[srcVariable],[params]format:json<tab>]}}}/></pre>
""">>
''Expected''
<<.example 5 """\function tab() [charcode[9]]
<pre><$text text={{{[[.concat]format:variable[]]}}}/></pre>
""">>