Parse JSON String to Structure

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?

回答 (1 件)

Animesh
Animesh 2025 年 5 月 5 日

0 投票

This can be done using :
jsondecode('string text');
For more reference:

タグ

質問済み:

2015 年 5 月 8 日

回答済み:

2025 年 5 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by