{
"fulltime": [
{"name": "oscar godson", "age": "20", "email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f29d81919380959d96819d9cb29a9b819f939b9edc919d9f">[email protected]</a>"},
{"name": "daniel erickson", "age": "25", "email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1175707f78747d51666370786579657472793f727e7c">[email protected]</a>"},
{"name": "john doe", "age": "18", "email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="22484d4a4c0c464d47624f5b414d4f52434c5b0c414d4f">[email protected]</a>"}
],
"parttime":[
{"name": "bill johnson", "age": "35", "email": "<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b6d4dfdadadcd9ded8c5d9d8f6d1dbd7dfda98d5d9db">[email protected]</a>"}
]
}
With no prior knowledge of the values, such as fulltime being able to represent anything, I am seeking a function or method to iterate through all entries. Please refrain from using jQuery.
In addition, my goal is to retrieve the output of: all items within fulltime, all items within parttime, and so forth.