How to read Json in Macrodroid

karan

New member
i have tried using ParseTask plugin, but it didn't worked out (variables have no value). may be I'm doing something wrong. as i see on Google play review that someone was successful to parse json in macrodroid with ParseTask.


is there any tutorial available for this?

edit: json is in macrodroid variable, called http GET which returns json

The same configuration of ParseTask works when i use it via tasker.
 
Last edited:

cohoman

New member
i have tried using ParseTask plugin, but it didn't worked out (variables have no value). may be I'm doing something wrong. as i see on Google play review that someone was successful to parse json in macrodroid with ParseTask.


is there any tutorial available for this?

edit: json is in macrodroid variable, called http GET which returns json

The same configuration of ParseTask works when i use it via tasker.
I also tried using the ParseTask Tasker Plugin in Macrodroid with no success. It would be nice for the Macrodroid developer to add the ability to parse JSON data as a built-in feature in the text manipulation/extraction. Just an improvement suggestion.
 

MacroDroidDev

Administrator
Staff member
I'm certainly keen to add more and more advanced features like JSON parsing, but at the moment there are probably a few other things that must be done before I can even consider this. For example the introduction of arrays/dictionary variable types would seem to be quite important to enable easy parsing of JSON into sensible data structures.

This is not confirmation that I'm definitely doing any of this but I certainly hope to move in this direction at some point.
 

tanutanu

Well-known member
i have tried using ParseTask plugin, but it didn't worked out (variables have no value). may be I'm doing something wrong. as i see on Google play review that someone was successful to parse json in macrodroid with ParseTask.


is there any tutorial available for this?

edit: json is in macrodroid variable, called http GET which returns json

The same configuration of ParseTask works when i use it via tasker.
I recommend you to do it with curl and jq on Termux if you don't mind cui.
I parse with jq in this macro:
Or MD basic text manipulation actions:
 
Top