Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
This function parses JSON strings. It converts JSON arrays into cell arrays and JSON objects into structures.
This can be used with webervices that return JSON data such as the API provided by Google®.
An example of use is:
google_search = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=matlab';
matlab_results = parse_json(urlread(google_search));
disp(matlab_results{1}.responseData.results{1}.titleNoFormatting)
disp(matlab_results{1}.responseData.results{1}.visibleUrl)
Citation pour cette source
Joel Feenstra (2026). JSON Parser (https://fr.mathworks.com/matlabcentral/fileexchange/20565-json-parser), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.2.0.1 (2,4 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.0.1 | Updated license |
||
| 1.2.0.0 | Changed the description to properly reference Google®. |
||
| 1.0.0.0 |
