This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

JSONTiddlerWidget

27th April 2022 at 5:11pm

Introduction

The jsontiddler widget renders the fields of a tiddler to display as a JSON object. The fields of the tiddler can be customised or excluded.

The jsontiddler widget is used in system templates to generate JSON representations of tiddlers for saving. See JSON in TiddlyWiki for an overview.

Content and Attributes

The content of the <$jsontiddler> widget is ignored.

AttributeDescription
tiddlerOptional title of the tiddler from which the fields are to be displayed
excludeOptional space separated list of fields to be excluded
escapeUnsafeScriptCharsIf set to "yes" then the < character will be escaped to the equivalent \u003C encoding
{any attributes starting with $}Each attribute name (without the leading $) specifies a field to be modified with the attribute value providing the value to assign to the field