CONVERT JSON FILE TO EXCEL IN MATLAB
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I have a big JSON file which I want to convert to a excel file so that I can use it for classiication and feature selection.
Any suggestions on steps to import the JSON file and convert it to an excel file with column names? THnaks a lot!
2 Kommentare
Jeff Mackey
am 13 Mai 2022
Jeff Mackey (2022). json2xls (https://www.mathworks.com/matlabcentral/fileexchange/111570-json2xls), MATLAB Central File Exchange. Retrieved May 13, 2022.
Antworten (1)
KSSV
am 9 Nov. 2016
1 Kommentar
Guillaume
am 9 Nov. 2016
In R2016b matlab has introduced a documented way of parsing json with jsondecode and in previous versions there was the undocumented matlab.internal.webservices.fromJSON which does the same, no need for an external library.
However, as you said in your comment to the question, we need to know the mapping between json and excel. There's nothing inherently tabular about json so it's not clear how to go from one to the other.
Siehe auch
Kategorien
Mehr zu JSON Format finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!