I have the following JSON:
"list": {
"list_id": "2kA",
"title": "Social Media",
"description": "Trending",
"image": [
"http://cdn.socialmediaexaminer.com/wp-content/uploads/2012/11/br-campaign-report.png?9d7bd4",
"http://cdn.socialmediaexaminer.com/wp-content/uploads/2012/11/br-campaign-report.png?9d7bd"
],
"views": 65
}
How can I store a serialized version of the image array in the database? Doing any of the following returns an error:
$images = $item->list->image;
$images = $item->list->image->[0];
$images = $item->list->['image'];
Thanks guys!