Rank: 3939 based on 30 downloads (last 30 days) and 1 file submitted
photo

Jonas Almeida

E-mail
Company/University
Univ Texas MDAnderson Cancer Ctr

Personal Profile:

 

Watch this Author's files

 

Files Posted by Jonas Almeida
Updated   File Tags Downloads
(last 30 days)
Comments Rating
05 Apr 2010 json4mat This Matlab toolbox converts JSON formats into (json2mat) and from (mat2json) Matlab structures. Author: Jonas Almeida json, toolbox 30 5
  • 4.6
4.6 | 5 ratings
Comments and Ratings on Jonas Almeida's Files View all
Updated File Comment by Comments Rating
28 Aug 2013 json4mat This Matlab toolbox converts JSON formats into (json2mat) and from (mat2json) Matlab structures. Author: Jonas Almeida Emmanuel Farhi

A very good read/write json support, which does not depend on any Java based library. Thanks.

19 Nov 2012 json4mat This Matlab toolbox converts JSON formats into (json2mat) and from (mat2json) Matlab structures. Author: Jonas Almeida Jordi Riba

Sorry, did not wake up today ...
kk=json2mat ('xx.js',1)

19 Nov 2012 json4mat This Matlab toolbox converts JSON formats into (json2mat) and from (mat2json) Matlab structures. Author: Jonas Almeida Jordi Riba

Hi, this file works really good to extract data from json files!!!

However I try to assign the results to a variable (to avoid having it in ans= ...) and I cannot do it. Any ideas? Thanks.

17 Mar 2012 json4mat This Matlab toolbox converts JSON formats into (json2mat) and from (mat2json) Matlab structures. Author: Jonas Almeida ted p teng

05 Mar 2012 json4mat This Matlab toolbox converts JSON formats into (json2mat) and from (mat2json) Matlab structures. Author: Jonas Almeida Jorge Herrera

Great tool! I just found a small bug. The code fails to write a correct JSON object when there's an empty array (and probably also fails with an empty cell).

Line 29 in mat2json.m it reads:

J(end)=']';

When the array is empty, this line will replace the opening '[' with the closing ']' (there's no trailing comma to replace!). A simple length check or string comparison to handle this edge case should fix it.

Thanks,
Jorge

Contact us