Viewing JSON data tiddlers

Folks, I recently published a wiki post Tips and commentary - Notes on tiddlers stored in a data tiddler and there are two remaining issues;

  • If the tiddler for which the note is recorded is renamed the note is orphaned
  • I am making a “card” that displays on JSON data tiddlers to review the contents
    • Here I can indicate such orphaned notes, if the key has no matching tiddler, a work around for the above.

Review the contents of a JSON tiddler.

  • This is a simple JSON tiddler with a key of a tiddler title and a wikitext value

It seems to me a view template for such tiddlers, should be available “out of the box”.

  • Is anyone aware of a solution (although I will build my own)

But this is a fairly stable format so we could also enable an edit template including tools like;
wikify value, key rename, record delete, value edit, new record, search (for the larger data sets), apply subfilter.

Is this a solution we are waiting for, or has it being done?

[Post Script]
I am not looking for a bigger solution that includes this, although it may be informative. I would like to see a set and forget solution just for this aspect of JSON Data Tiddlers.

Ultimately the same for CSV and dictionary tiddlers would be lovely

As a starting point, you might look at @vilc’s Dictionary Table plugin. It’s designed for dictionary tiddlers, but could easily be extended to work with JSON data tiddlers as well.

I’ve made some modifications to my copy (mentioned in that thread) to allow for easy value editing. I think it would be fairly simple to add the other tools you mentioned, too.

P.S. While not a ViewTemplate solution, I’d also highly recommend @pmario’s keyvalues filter operator if you’re doing any significant work with filtering indexes; it makes key-and-value searches far easier!

1 Like