How do I use JSON in Tiddlywiki?

122 views
Skip to first unread message

David Allen

unread,
Nov 20, 2019, 7:46:28 PM11/20/19
to TiddlyWiki
I'm trying to get information using Tumblr's API.  The API returns a JSON object.  I tried copying the JSON text into the text field of a tiddler, then set its data type to application/json.  Now I don't know how to access the information in that tiddler.  Does anyone have any examples of how to do this?

TonyM

unread,
Nov 20, 2019, 11:11:57 PM11/20/19
to TiddlyWiki
David,

The standard JSON is a particular format of multiple tiddler entries. Not all tiddler formats work directly within tiddlywiki. If it is correct you use the same index references etc... as data tiddlers https://tiddlywiki.com/#DataTiddlers

Joshuas JSON editor however takes it to the next step.

Regards
Tony

PMario

unread,
Nov 21, 2019, 3:38:48 AM11/21/19
to TiddlyWiki
Hi David,

Can you provide us with a JSON object, that you get from Tumblr? It should contain 1, 2 or more elements.
So we can see how it looks like.

OR you can point us to the DEV docs, which describes the JSON structure. ...

-mario
Reply all
Reply to author
Forward
0 new messages