Hi c pa, Thanks! I have been planning on "overloading" the indexes[] operator, to offer better filtering and maybe a "depth" option. I have an open issue on my github to track this issue:
https://github.com/joshuafontany/TW5-JsonMangler/issues/9 Best, Joshua F On Saturday, March 7, 2020 at 9:06:19 PM UTC-8, c pa wrote: > > Joshua, > > I've been using the plugin for a couple of weeks. Excellent useful plugin. > I have one request. Is it possible to add an "attributes" operator or > something like that that would return the direct children of each item? > I've found that I have to manually maintain and index in the JSON so that I > can keep track. > > { > "item one": {"one": "content", "two": "content", "indexes": "one two"}, > "item two": {"aye": "content", "bee": "content", "indexes": "aye bee"}, > "item three": "content", > "indexes": "[[item one]] [[item two]] [[item three]]" > } > > The indexes operator returns all children and I only need the direct > children. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7587f961-9003-496d-8502-42f791c30bdc%40googlegroups.com.

