Changes

154 bytes added ,  13:24, 31 March 2022
no edit summary
Line 23: Line 23:  
This data can be obtained from the following url: https://tools.learningcontainer.com/sample-json.json
 
This data can be obtained from the following url: https://tools.learningcontainer.com/sample-json.json
   −
This data will be parsed into a dictionary variable in MacroDroid and end up with the following format:
+
This data will be parsed into a dictionary variable in MacroDroid and end up populated with the data below:
    
dictionary[firstName] = "Rajesh"<br/>
 
dictionary[firstName] = "Rajesh"<br/>
Line 37: Line 37:  
dictionary[phoneNumbers][type] = "home"<br/>
 
dictionary[phoneNumbers][type] = "home"<br/>
 
dictionary[phoneNumbers][number] = 7383627627<br/>
 
dictionary[phoneNumbers][number] = 7383627627<br/>
 +
 +
You can then use the values of interest from the dictionary in your macros, for example to populate a weather summary from a weather API or similar.