The other day I had this idea that it could be fairly (if not totally) compatible to add easy JSON reading to Tasker and today I tried it out! :)
In this version of Tasker, if you have a local variable with some JSON data in it you can easily read it with the dot notation!
For example:
It even works for multiple values (arrays)! Let's say you have
You can use all the normal array operations like %data.name(#) to count the number of names, %data.name(<) to get the last name, etc.
Check out this example Task that will give you the current temperature. Super easy to do now! 😁
I'm aware that this has some limitations right now like for example, what if a JSON field has a Tasker incompatible name? I'll try and see what I can do about it :) Maybe have a separate JSON Read action for those special cases?
In any case, you can try out this new feature with the version below. Enjoy and let me know what you think! 😊
https://drive.google.com/file/d/1SvQFvAxFwCk-hArfO_6wOH0UlvvMGi0z/view?usp=sharing
João Dias
2021-04-23 08:23:40 +0000 UTCMatt DeKok
2021-04-22 18:20:45 +0000 UTCJoão Dias
2021-04-22 17:23:33 +0000 UTCMatt DeKok
2021-04-22 17:05:37 +0000 UTCJoão Dias
2021-02-08 10:05:28 +0000 UTCJoão Dias
2021-02-08 10:04:56 +0000 UTCBernard Tan
2021-02-05 22:23:39 +0000 UTCJay
2021-02-05 19:44:25 +0000 UTCGavin Johnston
2021-02-05 18:51:14 +0000 UTCJoão Dias
2021-02-05 18:47:49 +0000 UTCZachary H Denny
2021-02-05 18:45:03 +0000 UTC