Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
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)
Citar como
Joel Feenstra (2026). JSON Parser (https://es.mathworks.com/matlabcentral/fileexchange/20565-json-parser), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspiración para: JSONLab (Development Branch), (another) JSON Parser, Highly portable JSON-input parser, Matlab-Pushbullet, Core_jsonparser: Import and Export JSON files using MATLAB, twitty, exchangerate.m, JSONLab: portable, robust JSON/binary-JSON encoder/decoder
Categorías
Más información sobre Call Web Services from MATLAB Using HTTP en Help Center y MATLAB Answers.
Información general
- Versión 1.2.0.1 (2,4 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
