Skip to content

Commit a4fa563

Browse files
authored
extractValueFromJSON.js
This script comes handy to extract the value from a JSON object and also to tackle with the duplicate 'user_name' and shows the corresponding title related to that particular 'user'.
1 parent b2f501d commit a4fa563

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Server-Side Components/Background Scripts/Extract Value from JSON/extractValueFromJSON.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var userData = {
2828
]
2929
};
3030

31+
3132
var userRoles = {};
3233
for (var i = 0; i < userData.userDetails.length; i++) {
3334
var user = userData.userDetails[i];

0 commit comments

Comments
 (0)