Support the ongoing development of Laravel.io →
Database Views Configuration

How to get each 'name', 'id', and more data particuler in JSON

[,…] 0 : [{id: 13, name: "Aashirvaad Atta", main_category: "grocery", category_id: 1, sub_category_id: 4,…},…]

0 : {id: 13, name: "Aashirvaad Atta", main_category: "grocery", category_id: 1, sub_category_id: 4,…}

1 : {id: 15, name: "Rice Flour (Chawal ka Atta)", main_category: "grocery", category_id: 1,…}

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.