I have a set of data in a JSON file that consists of UserIDs (as keys) and Passwords (values). I want to read the same using JavaScript for validation purposes. My JSON is :
IDsNPass = '[{"A":"A15"},{"B":"B15"},{"C":"C15"}]';
I have an idea about how to access the data using JavaScript as long as the keys in the JSON remain the same. But here, the keys in my JSON are not constant all along. Any help on how to get along with the JavaScript is much appreciated!