Parse JSON String to Structure

43 views (last 30 days)
Michael
Michael on 8 May 2015
Answered: Animesh on 5 May 2025
I can use webread to parse json delivered by a webservice into a struct, but is there any way to do that same parsing if I have the JSON data in a string?

Answers (1)

Animesh
Animesh on 5 May 2025
This can be done using :
jsondecode('string text');
For more reference:

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!