I have this json. I only care about the uniqueIDs.
How can I get ONLY the uniqueID values delivered back to me as a comma separated list, ie, 11111, 22222? (I need to create my own array.) I can't edit the json below - I am just trying to parse the value I care about out of it....
{
        products: [{
            type: "Unique",
            name: "Joe",
            description: "Joes Description",
            uniqueID: "11111"
        }, {
            type: "Unique",
            name: "Jane",
            description: "Janes Description",
            uniqueID: "22222"
        }]
}
Thought it would be this easy but its not...
$data['uniqueID'][0]
 
     
     
     
    