diff --git a/editions/tw5.com/tiddlers/test-getvariablejson-conat.tid b/editions/tw5.com/tiddlers/test-getvariablejson-conat.tid new file mode 100644 index 000000000..303bed912 --- /dev/null +++ b/editions/tw5.com/tiddlers/test-getvariablejson-conat.tid @@ -0,0 +1,40 @@ +created: 20240506101435113 +modified: 20240506105325655 +tags: +title: test-getvariablejson-conat +type: text/vnd.tiddlywiki + +''Nice to have'' + +<<.example 1 """\function tab() [charcode[9]] + +
<$text text={{{[[.concat]getvariablejson[]]}}}/>
+""">> + +''Human readable version'' + +<<.example 2 """\function tab() [charcode[9]] + +
<$text text={{{[[.concat]getvariablejson[]format:json]}}}/>
+""">> + +''Function definition'' + +<<.example 3 """\function tab() [charcode[9]] + +
<$text text={{{[[.concat]getvariablejson[]jsonextract[srcVariable],[value]format:json]}}}/>
+""">> + +''Get parameters'' + +<<.example 4 """\function tab() [charcode[9]] + +
<$text text={{{[[.concat]getvariablejson[]jsonextract[srcVariable],[params]format:json]}}}/>
+""">> + +''Expected'' + +<<.example 5 """\function tab() [charcode[9]] + +
<$text text={{{[[.concat]format:variable[]]}}}/>
+""">>