Open main menu
Home
Random
Recent changes
Special pages
Preferences
About MacroDroid Wiki
Disclaimers
MacroDroid Wiki
Search
User menu
18.188.96.17
Talk
Watchlist
Contributions
Log in
Changes
← Older edit
Newer edit →
Action: JSON Parse
(view source)
Revision as of 11:28, 31 March 2022
575 bytes added
,
11:28, 31 March 2022
no edit summary
Line 20:
Line 20:
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:
+
+
dictionary[firstName] = "Rajesh"
+
dictionary[lastName] = "Kumar"
+
dictionary[genger] = "man"
+
dictionary[age] = 24
+
dictionary[address] = sub-dictionary with 4 entries
+
dictionary[address][streetAddress] = "126 Udhna"
+
dictionary[address][city] = "Surat"
+
dictionary[address][state] = "GJ"
+
dictionary[address][postalCode] = "394221"
+
dictionary[phoneNumbers] = sub-dictionary with 2 entries
+
dictionary[phoneNumbers][type] = "home"
+
dictionary[phoneNumbers][number] = 7383627627
MacroDroidDev
Bureaucrats
, editors,
Interface administrators
,
Administrators
749
edits