Support the ongoing development of Laravel.io →
posted 2 years ago
Laravel
Last updated 1 year ago.
0
moderator

Assuming you already have the JSON in your controller, and that JSON is in a variable called $response, you should be able to do:

$data = json_decode($response, true);

$desc = $data['description']['desc'];
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Fynfo fynfo Joined 18 Oct 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.