Moenchfracht
1 year ago

JSON Path and blade

Posted 1 year ago by Moenchfracht

Hello, in my application I recieve JSON data like this:

[{"buy":"12350.010000","sell":"12300.170000","tag":"2017-12-29"},{"buy":"12209.260000","sell":"12174.990000","tag":"2017-12-29"},{"buy":"12147.790000","sell":"12133.570000","tag":"2017-12-29"},{"buy":"12182.610000","sell":"12143.480000","tag":"2017-12-29"},{"buy":"11983.490000","sell":"11959.920000","tag":"2017-12-29"},{"buy":"12058.670000","sell":"12029.790000","tag":"2017-12-29"}]

How can I navigate in my blade file so that only the sell values are shown? Tried many things...

{!! $jsondata->sell !!}
{!! $jsondata['sell'] !!}

...nothing worked so far. Thanks!

Please sign in or create an account to participate in this conversation.