I am currently working on filtering JSON data to specifically search for job roles that begin with a particular string.
The structure of the JSON is as follows :
"periods": [
{
"periodName": "Week1",
"teamName": "Tango",
"roleName": "SoftwareEngineerII",
"roleExperience": "2",
"id": "cc1f6e14-40f6-4a79-8c66-5f3e773e0929"
},
...
]
My goal is to extract roleNames starting with "Software" in order to list all Software Engineers and filter out other roles.
I am uncertain about how to implement a "starts with" or "contains" function in this scenario.