Last active
February 1, 2018 21:24
-
-
Save nomoney4me/1b83acb9a1cffed4f3a2640a31ea0a7e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[{ | |
"id": "0099494d-6675-9dd-7900-5ec44a2718b3", | |
"instruction720": null, | |
"phone": null, | |
"sch": null, | |
"mseen1": "%3Cfont+color%3D%27red%27%3EDid+not+see%3C%2Ffont%3E", | |
"mseen2": "%3Cfont+color%3D%27red%27%3ESaw%3C%2Ffont%3E", | |
"mseen3": "%3Cfont+color%3D%27red%27%3EDid+not+see%3C%2Ffont%3E", | |
"Better": null, | |
"Worse": null, | |
"GenApp1": null, | |
"movrate": null, | |
"realize": "No", | |
"compare": null, | |
"PwhyN_8": "Wasn%27t+an+important+reason", | |
"PwhyN_9": "Wasn%27t+an+important+reason", | |
"wheresaw": null, | |
"original": "No", | |
"PwhyN_5": "Wasn%27t+an+important+reason", | |
"PwhyN_6": "Wasn%27t+an+important+reason", | |
"PwhyN_7": "Wasn%27t+an+important+reason", | |
"PwhyN_1": "Wasn%27t+an+important+reason", | |
"PwhyN_2": "Wasn%27t+an+important+reason", | |
"PwhyN_3": "Wasn%27t+an+important+reason", | |
"PwhyN_4": "Wasn%27t+an+important+reason", | |
"Pwhych_7": "Wasn%27t+an+important+reason", | |
"least": null, | |
"Pwhych_1": "Wasn%27t+an+important+reason", | |
"Pwhych_2": "Wasn%27t+an+important+reason", | |
"mless15": "%3Cfont+color%3D%27red%27%3ELess%3C%2Ffont%3E", | |
"mless16": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless12": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless13": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless14": "%3Cfont+color%3D%27red%27%3ELess%3C%2Ffont%3E", | |
"mless10": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless11": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless9": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless6": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless7": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless8": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless4": "%3Cfont+color%3D%27red%27%3ELess%3C%2Ffont%3E", | |
"mless5": "%3Cfont+color%3D%27red%27%3ELess%3C%2Ffont%3E", | |
"mless1": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless2": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E", | |
"mless3": "%3Cfont+color%3D%27red%27%3EMore%3C%2Ffont%3E" | |
}] |
This file contains hidden or 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
fetch().then(data => { | |
var NewArray = data.map(item => { | |
return Object.keys(item).map(key => { | |
return item[key] = striptags(decodeURIComponent(item[key]).replace(/\+/g, "%20")) | |
}) | |
}) | |
console.log(NewArray) | |
res.json(NewArray) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment