Parse JSON String to Structure

42 visualizzazioni (ultimi 30 giorni)
Michael
Michael il 8 Mag 2015
Risposto: Animesh il 5 Mag 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?

Risposte (1)

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

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by