I have a field called "menuIds" in "menu-permissions" table where the data looks like this--
[{"id":1,"menuName":"service","code":"1"},
{"id":2,"menuName":"food","code":"3"},
{"id":3,"menuName":"cloths","code":"hfuiu"},
{"id":4,"menuName":"Geoffrey","code":pr"}]
controller--
public function log()
{
$menuPermissions = MenuPermission::all();
return view('master.dashboard',compact('menuPermissions'));
}
How do I Show only the menuNames in a list?
