Parse JSON String to Structure

조회 수: 43 (최근 30일)
Michael
Michael 2015년 5월 8일
답변: Animesh 2025년 5월 5일
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일
This can be done using :
jsondecode('string text');
For more reference:

카테고리

Help CenterFile Exchange에서 JSON Format에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by