Josua,
As you know I follow your work on this, and I have let you know I am
impressed. As an IT Professional I expect to use you wonderful resource to
"pull a rabbit out of a hat" when sophisticated data transfer or import is
required. I am keen to spend time with it to be more familiar with it and
perhaps craft some high level guidance material because being so
comprehensive "the possibilities" it would help.
With your various operators I wonder if a subset of these should be
available to more users than those needing the full suite, in some cases
even included in the standard release?
I have being playing games with the import process, moving imports into
plugins or json files and republishing content. I have discovered so many
opportunities that it will take time for me to develop a "best practice"
however I see methods to increase the utility of json and csv files within
tiddlywiki.
I want to propose a collaboration if you are interested and we are isolated
in coming weeks, basically to develop and promote the use of json and other
data tiddlers more and position your tools effectively. A set of methods
and work flows based on your work and my own.
Here are some objectives I have in mind;
- Easy packaging for drag and drop of any combination of tiddlers and
solutions
- Easy table JSON to csv and tables exchange
- Developing json and/or plugins with test data as reference data for
sharing with the community in troubleshooting
- Where a rich set of test data is available so people can test
against a reference set of data rather than share their own data
- Using such tools for extracting data from other systems or services
with examples
What do you think?
Regards
Tony
On Tuesday, March 17, 2020 at 1:35:47 PM UTC+11, Joshua Fontany wrote:
>
> Hi everyone,
>
> I've worked a few bugs out and introduced a more flexible `indexes[]`
> filter. Hopefully this will make jsonmangler robust enought for some really
> cool projects.
>
> Looking forward to what people do with these new capabilities. I have
> included a standard documentation tiddler for the new functions:
>
> https://joshuafontany.github.io/TW5-JsonMangler/#indexes%20Operator
>
> purpose select all data properties of the input titles (see output)
>> input <http://127.0.0.1:8080/JsonMangler#Filter%20Syntax> a selection of
>> titles <http://127.0.0.1:8080/JsonMangler#Title%20Selection>
>> suffix <http://127.0.0.1:8080/JsonMangler#Filter%20Step> the indexes
>> operator
>> uses a rich suffix, see below for details
>> parameter <http://127.0.0.1:8080/JsonMangler#Filter%20Parameter> (optional)
>> an index-path to a property in the data tiddler
>> output the property names or indices found at the tiddler or path
>> location provided (only immediate properties are returned if the ":root"
>> suffix is used)
>>
>> Each input title is processed in turn, and is ignored if it does not
>> denote a data tiddler <http://127.0.0.1:8080/JsonMangler#DataTiddlers>.
>> The list of property names is retrieved from the data tiddler (in no
>> particular order) and then dominantly appended
>> <http://127.0.0.1:8080/JsonMangler#Dominant%20Append> to the operator's
>> output.
>>
>> Where a tiddler's content is JSON
>> <http://127.0.0.1:8080/JsonMangler#JSONTiddlers>, the indexes operator
>> uses an extended syntax:
>>
>> [indexes:root[<path>]]
>>
>>
>> - root: a flag to only retrieve the immediate ("root") indexes from
>> the tiddler or path location
>> - path: a slash-delimited index path (see the Read Me
>>
>> <http://127.0.0.1:8080/JsonMangler#%24%3A%2Fplugins%2Fjoshuafontany%2Fjsonmangler%2Freadme>
>> )
>>
>> Examples
>> <http://127.0.0.1:8080/JsonMangler#indexes%20Operator%20(Examples)>
>>
>
> There are Examples in the new demo wiki as well.
>
> Download the source or *.zip over on GitHub:
>
> https://github.com/joshuafontany/TW5-JsonMangler
>
> Best,
> Joshua Fontany
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev/de73f1af-025c-4933-b46e-fa6501291fb8%40googlegroups.com.