caption: jsontiddlers created: 20150221152226000 modified: 20220427171155184 tags: Macros [[Core Macros]] title: jsontiddlers Macro type: text/vnd.tiddlywiki The <<.def jsontiddlers>> [[macro|Macros]] returns the fields of a [[selection of tiddlers|Title Selection]] in [[JSON|JavaScript Object Notation]] form. See [[JSON in TiddlyWiki]] for an overview. An example can be seen in the [[template tiddler for JSON exports|$:/core/templates/exporters/JsonFile]]. !! Parameters ;filter : A [[filter|Filters]] selecting which tiddlers to include ;spaces : An optional number of spaces to use for formatting the JSON. Defaults to 4, with blank or zero resulting in packed JSON with no formatting spaces