Rank: 94629 based on 0 downloads (last 30 days) and 0 file submitted
photo

Dustin

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Dustin
Updated File Comments Rating
12 Apr 2010 Highly portable JSON-input parser For any version of Matlab that may still be in use by the fileexchange community. Author: Nedialko

I kinda wish there were a more straight-forward way of accessing structs that live inside an array. For example, in a JSON string that has a series of unkeyed objects living in an array (i.e., "arrayName": [ {"color": "red"}, {"color": "green"}, {"color": "blue"} ]), accessing those objects is odd. Instead of using arrayName(i).color you must use arrayName{1,i}.color. Not a huge deal, just different than what I was expecting.

Other than that, it is very particular about properly-formatted JSON string inputs, and that's a good thing. Nice job.

Contact us