how to json data convert to array in laravel 8 when data get code example
Example: convert php array to javascript json laravel
<script>
var js_json_obt = @json($php_array ?? '');
</scritp>
<script>
var js_json_obt = @json($php_array ?? '');
</scritp>