TW Jones, thank you. Your method also gives expected results,
cheers,
Darek
wtorek, 22 września 2020 o 12:27:59 UTC+2 TW Tones napisał(a):
> And To complement Saq's legitimate method;
>
> JSON tiddlers are just tiddlers containing text;
>
> With you data in the tiddler "Data"
>
> <$list filter='[[Data]get[text]splitregexp[\n]search["name"]]'
> variable=name-line>
> {{{ [<name-line>split[: ]last[]removeprefix["]removesuffix[",]] }}}<br>
> </$list>
>
>
> Regards
> Tones
>
> On Tuesday, 22 September 2020 19:21:57 UTC+10, Darek Bobak wrote:
>>
>>
>> Is it possible to list all the values of the specified index in filter
>> expression? I would like to get all the values of the "name" (ie,
>> Albersdorf and Pfellnkofen) from the sample json tiddler:
>>
>> {
>> "type": "FeatureCollection",
>> "features": [
>> {
>> "type": "Feature",
>> "properties": {
>> "name": "Albersdorf",
>> "type": "Open",
>> "elevation": ""
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [
>> 13.190206,
>> 48.649078
>> ]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "name": "Pfellnkofen",
>> "type": "Open",
>> "elevation": ""
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [
>> 12.190206,
>> 48.649078
>> ]
>> }
>> }
>> ]
>> }
>>
>>
>> best
>> Darek
>>
>
--
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/0dc3cc04-65f7-4c22-ad69-825601363de0n%40googlegroups.com.