how to return json from database not in string form after send json data in api laravel code example
Example: laravel return response json
return response()->json([
'name' => 'Abigail',
'state' => 'CA',
]);
return response()->json([
'name' => 'Abigail',
'state' => 'CA',
]);