In my code I have a function that takes a json as an input:
[{
    "location": {},
    "_id": "5852d6fe29a15b4e6f9fc69d"
}, {
    "location": {},
    "_id": "5852d71529a15b4e6f9fc69e"
}, {
    "location": {},
    "_id": "5852d73229a15b4e6f9fc69f"
}, {
    "location": {},
    "_id": "5852d75b29a15b4e6f9fc6a0"
}]
I need to convert it so that the result is an array:
["5852d6fe29a15b4e6f9fc69d", "5852d6fe29a15b4e6f9fc69d",
 "5852d73229a15b4e6f9fc69f", "5852d75b29a15b4e6f9fc6a0"]
This json is a parameter to my function, basically the block code looks like this:
function parseJson(inputJson) {   
    if (inputJson!= undefined) {
        var outputArray = 
    }
}
what's the best way to parse that data?
 
     
     
    