Rank: 1133 based on 96 downloads (last 30 days) and 3 files submitted
photo

Joel Feenstra

E-mail
Company/University
The MathWorks

Personal Profile:

Professional Interests:

 

Watch this Author's files

 

Files Posted by Joel View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jun 2009 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra converts, json, webservice, data import, parses, strings 57 6
  • 4.0
4.0 | 1 rating
03 Oct 2008 Screenshot Camera Manipulation Demonstrates camera manipulation with roll, pitch, and yaw. Author: Joel Feenstra view, yaw, roll, potw, camera, 3d 12 1
  • 3.0
3.0 | 1 rating
15 Apr 2008 Modified Parallel Port Driver Modified parallel port driver for the Data Acquisition Toolbox to fix issue with reading from the co Author: Joel Feenstra parallel port data ac..., hardware driver 27 2
Comments and Ratings by Joel View all
Updated File Comments Rating
23 Mar 2009 (another) JSON Parser Parses JSON strings into structures and cells. Author: François Glineur

It is definitely faster than my version.

23 Mar 2009 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra

I know that the code is slow, and I made no attempt to make the code fast, just correct. François's version does seem to be faster, so if you need speed (and have a lot of strings), use his.

08 Dec 2008 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra

The Google API limits it to 4 results. You can use the "cursor" information to fetch more results: matlab_results{1}.responseData.cursor

Comments and Ratings on Joel's Files View all
Updated File Comment by Comments Rating
23 Mar 2009 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra Boert, Patrick

Thanks Joel, I thought maybe there would be an easy workaround you could point me to. But the new file solves the issue, it is faster by some magnitude. In any case, thanks for your work.

23 Mar 2009 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra Feenstra, Joel

I know that the code is slow, and I made no attempt to make the code fast, just correct. François's version does seem to be faster, so if you need speed (and have a lot of strings), use his.

23 Mar 2009 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra Glineur, François

An alternative parser with faster handling of strings is available at http://www.mathworks.com/matlabcentral/fileexchange/23393
(another JSON Parser). For example, running the example above

companies=parse_json(urlread('http://api.crunchbase.com/v/1/companies.js'));

with it now takes less than 30 seconds.

21 Mar 2009 Camera Manipulation Demonstrates camera manipulation with roll, pitch, and yaw. Author: Joel Feenstra Petter

Nothing special

16 Mar 2009 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra Boert, Patrick

Hallo Joel,

thanks for the work!

I'm trying to query the Chruchbase API and it seems to work fine. However, it takes ages for some queries to get parsed, e.g. I quit

companies=parse_json(urlread('http://api.crunchbase.com/v/1/companies.js'));

after 1 hour. The profiler says that

json(1) = []; in parse_json>parse_string
json(1) = []; in parse_json>parse_object

make up about 90 % of the computational cost. Is there some easy way around this?

Best,
Patrick

Top Tags Applied by Joel
3d, arrays, camera, cell arrays, converts
Files Tagged by Joel View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jun 2009 JSON Parser Parses JSON strings into structures and cells Author: Joel Feenstra converts, json, webservice, data import, parses, strings 57 6
  • 4.0
4.0 | 1 rating
03 Oct 2008 Screenshot Camera Manipulation Demonstrates camera manipulation with roll, pitch, and yaw. Author: Joel Feenstra view, yaw, roll, potw, camera, 3d 12 1
  • 3.0
3.0 | 1 rating
15 Apr 2008 Modified Parallel Port Driver Modified parallel port driver for the Data Acquisition Toolbox to fix issue with reading from the co Author: Joel Feenstra parallel port data ac..., hardware driver 27 2
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com