I have installed json mangler. very nice indeed.
but there's something I still fail to achieve with filter
Say my title within the filter is in fact a json object, having a "foo"
field. I'm not able to access it with get or getindex. I'd like to do
something like:
{{{ [[json-data]getindex[1]getindex[name]] }}}
just like I can do
{{{ [[json-data]getindex[1/name]] }}}
Because, sometimes, what I have is the json object, not the array of
oblects. And then I'm stocked (and don't want to mess with regexp to get my
data - I already have done that but that's too ugly).
Maybe the solution would be for json mangler to either allor for /name like
:
{{{ [[json-data]getindex[1]getindex[/name]] }}}
or to have //also// a new filter operator getjson to have:
{{{ [[json-data]getindex[1]getjson[name]] }}}
but also
{{{ [[json-data]getjson[1/name]] }}}
which would be much better as far as I'm concerned.
--
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/d9a31d95-9b6e-47d7-9293-c70713a8fb6bn%40googlegroups.com.