[Solved] How to use json decoded data in blade laravel


You can Decode json data in view.blade.php like this :

<tbody>
@foreach($vehicles as $vehicle)
    <tr>
        <td>
            @foreach(json_decode($vehicles->plate_number) as $plate)
                {{ $plate['variable_name'] }}
            @endforeach
        </td>
        <td>{{ $vehicles->delivery_capacity }}</td>
    </tr>
@endforeach
</tbody>

solved How to use json decoded data in blade laravel