2022-05-23 08:14:02 +00:00
|
|
|
created: 20220427174702859
|
2023-09-19 14:52:04 +00:00
|
|
|
modified: 20230809113620964
|
|
|
|
tags: [[JSON in TiddlyWiki]] Learning
|
|
|
|
title: Constructing JSON tiddlers
|
2022-05-23 08:14:02 +00:00
|
|
|
|
|
|
|
See [[JSON in TiddlyWiki]] for an overview of using JSON in TiddlyWiki.
|
|
|
|
|
|
|
|
JSON data is just plain text, and so there are an wide variety of techniques to generate it in wikitext.
|
|
|
|
|
|
|
|
At a high level, we have several ways to generate JSON data in TiddlyWiki's own tiddler format:
|
|
|
|
|
|
|
|
* JSONTiddlerWidget
|
|
|
|
* [[jsontiddler Macro]]
|
|
|
|
* [[jsontiddlers Macro]]
|
|
|
|
|
2023-09-19 14:52:04 +00:00
|
|
|
When constructing JSON data manually, the [[stringify Operator]] is needed to ensure that any special characters are properly escaped.
|