-
-
Save ldenson11/91c0e92b211e97bd0cf66953edda2a92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// normalize the case of keys | |
var parsedVal = JSON.parse(record); | |
out = {}; | |
Object.keys(parsedVal).forEach(function(key) { | |
out[key.toUpperCase()] = parsedVal[key] | |
}); | |
JSON.stringify(out); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment