above is my json file
i want to get images from above json format, below code is only working if json file is like this
[
{
"image":"data/images/10-24102B.jpg",
}
]
but how to fetch image if json file is like above.
.................code start....................
................. code end .......................
i tried
"images": [ { "id": 14, "date_created": "2020-05-15T15:48:39", "date_created_gmt": "2020-05-15T15:48:39", "date_modified": "2020-05-15T15:48:39", "date_modified_gmt": "2020-05-15T15:48:39", "src": "https://trolly.app/wp-content/uploads/2020/05/Baby-Products.png", "name": "Baby-Products", "alt": "", "position": 0 } ],
above is my json file i want to get images from above json format, below code is only working if json file is like this [ { "image":"data/images/10-24102B.jpg", } ]
but how to fetch image if json file is like above. .................code start....................
................. code end ....................... i tried
but not working. kindly help