Parse JSON text

Convert data from JSON format to a MATLAB-usable variable.

You are now following this Submission

Implemented as a MATLAB class, this file quickly and conveniently turns incoming streams of text into useful data for your MATLAB workspace.
This submission also contains an example/ directory and a test/ directory containing unit tests.

Cite As

Joe Hicklin (2026). Parse JSON text (https://www.mathworks.com/matlabcentral/fileexchange/42236-parse-json-text), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: OpenSignals File Format Reader for BITalino

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0.0

Fixed bugs described by Guy.
Numeric fields equal to the ASCII codes for special characters like {}[]: and , no longer fail.
Field names that start with numbers get an "s" prepended to them to form valid MATLAB fields.
Thanks Guy!

1.1.0.0

Minor update.