Hello TW community,
There have been several discussions recently about how to deal with JSON tiddlers (reading, dealing with object structure, deleting, …).
However I am missing some elements to join the dots.
More especially I would like to create / read / write / update JSON tiddlers that contains a set of tiddlers with some selected set of their fields. For instance:
{
"A tiddler": {
"icon": "my-icon",
"color" : "#fedcba"
},
"Another tiddler": {
"icon": "another-icon",
"color" : "#abcdef"
}
}
How can I achieve the following use case:
- add a tiddler with a set of defined fields inside the json data tiddler
- add a field name and value to a tiddler already in the json data tiddler
- update the field value of a givent tiddler inside the json data tiddler
- extract the list of tiddlers title present in the json data tiddler
- extract the field name of a tiddler present in the json data tiddler
- extract the field value of a tiddler present in the json data tiddler
- remove a field name and value from a tiddler present in the json data tiddler
- remove a tiddler present in the json data tiddler
All this action would be triggered using buttons.
BR,
Eskha