Changes

60 bytes removed ,  13:25, 31 March 2022
no edit summary
Line 25: Line 25:  
This data will be parsed into a dictionary variable in MacroDroid and end up populated with the data below:
 
This data will be parsed into a dictionary variable in MacroDroid and end up populated with the data below:
 
<pre>
 
<pre>
dictionary[firstName] = "Rajesh"<br/>
+
dictionary[firstName] = "Rajesh"
dictionary[lastName] = "Kumar"<br/>
+
dictionary[lastName] = "Kumar"
dictionary[genger] = "man"<br/>
+
dictionary[genger] = "man"
dictionary[age] = 24<br/>
+
dictionary[age] = 24
dictionary[address] = sub-dictionary with 4 entries<br/>
+
dictionary[address] = sub-dictionary with 4 entries
dictionary[address][streetAddress] = "126 Udhna"<br/>
+
dictionary[address][streetAddress] = "126 Udhna"
dictionary[address][city] = "Surat"<br/>
+
dictionary[address][city] = "Surat"
dictionary[address][state] = "GJ"<br/>
+
dictionary[address][state] = "GJ"
dictionary[address][postalCode] = "394221"<br/>
+
dictionary[address][postalCode] = "394221"
dictionary[phoneNumbers] = sub-dictionary with 2 entries<br/>
+
dictionary[phoneNumbers] = sub-dictionary with 2 entries
dictionary[phoneNumbers][type] = "home"<br/>
+
dictionary[phoneNumbers][type] = "home"
dictionary[phoneNumbers][number] = 7383627627<br/>
+
dictionary[phoneNumbers][number] = 7383627627
 
</pre>
 
</pre>
 
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.
 
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.