Core_jsonparser: Import and Export JSON files using MATLAB

版本 1.1.3.0 (13.9 KB) 作者: Kyle
JSON objects are imported or exported using struct, cell, double, and char.
620.0 次下载
更新时间 2015/11/4

查看许可证

JSON objects are imported or exported using MATLAB with the help of Python. All that is required, aside from an installation of Python, is to specify the location of the JSON file.
Why another JSON parser? I wanted a minimalist function that would import/export a JSON file in the most straightforward manner possible. I believed that function did not exist as of Oct. 2015. I've also become enamored with using Python to handle tasks common to Python, but not directly supported in MATLAB. This is what makes the code minimal. Python does the heavy lifting and a recursive function finishes the conversion.

引用格式

Kyle (2024). Core_jsonparser: Import and Export JSON files using MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/53698-core_jsonparser-import-and-export-json-files-using-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.3.0

There was a bug in the JSON export regarding arrays in a cell.

1.1.2.0

Conceptually I thought it would be an improvement to separate the process of converting from MATLAB to Python and vice versa into their own functions.

1.1.1.0

I forgot to actually change the files in the last update. Whoops!

1.1.0.0

Added the ability to export MATLAB data to a JSON file.

1.0.0.0