Searching in a JSON file
The JSON data was imported
It was checked whether the substring searched was contained in the the data.role if true another loop ran which added skills corresponding to that role into a hash map.
If key doesnt exist , key was added and value was set to one. Else value corresponding to that key is incremented.
After loop ends, the hashmap's keys were printed according to decreasing order of its value.