i tried to view data from database as per shown but get this error 

```
    $testjson = new TestJson ;
    $testjson = $testjson->Where('id',2)->get();
    return view('viewjson')->with('alldata',Json_decode($testjson));

```

user below code to view data 

```
@foreach($alldata as $key => $value)
    {{ $key }} - {{ $value }} <br>
@endforeach

```

can't get scope data
0 - {"id":2,"token":"2020-04-06 12:02:15",**"data":"{\"scope\":[\"volvo\",\"saab\",\"opel\",\"audi\"]}"**,"created\_at":"2020-04-06 12:02:15","updated\_at":"2020-04-06 12:02:15"} 

[database](https://i.stack.imgur.com/XVaE8.png)