JSONLab: portable, robust JSON/binary-JSON encoder/decoder
A toolbox to encode/decode JSON/UBJSON/MessagePack files in MATLAB/Octave
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: Popular File 2018
This file was selected as MATLAB Central Pick of the Week
Cite As
Qianqian Fang (2026). JSONLab: portable, robust JSON/binary-JSON encoder/decoder (https://se.mathworks.com/matlabcentral/fileexchange/33381-jsonlab-portable-robust-json-binary-json-encoder-decoder), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: zmat, Byte encoding utilities
Inspired: googleMapAPIを利用した走行ルートデータ作成, fNIRS SNIRF format reader/writer for MATLAB/Octave, Matlab to Google Sheets (matlab2sheets), JNIFTY - Tiny&Fast NIFTI-1/2 format reader/writer, QuinnSys/QuinnSys-OAPI, Light Field Toolbox v0.4 -- deprecated, v0.5 available now, ZMat: a fast compression/decompression lib for MATALB/Octave, LOL Chuck, SlackMatlab, EasyH5 - a tiny HDF5 reader/writer for MATLAB/Octave, jdict - Universal dictionary with xarray-like attributes, JCDstatusPlot, Core_jsonparser: Import and Export JSON files using MATLAB, sonyalpha: Control a Sony Alpha Camera
General Information
- Version 2.9.8 (190 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 2.9.8 | -support JSON-mmap for fast read/write of JSON files as disk-map
|
||
| 2.0.1 | - fix bjdata spec link |
||
| 2.0.0 | - add unit testing script
|
||
| 1.15.0 | ChangeLog:
|
||
| 1.13.0 | ChangeLog:
|
||
| 1.12.0 | - update to jsonlab 1.0 beta release
|
||
| 1.11.0 | update to 1.0 alpha release, included functions (saveubjson and loadubjson) for writing and reading Universal Binary JSON files |
||
| 1.10.0 | ChangeLog - 2012/06/17 *new format for an invalid leading char, unpacking hex code in savejson
|
||
| 1.9.8 | - fix a bug in saveubjson when saving integer 256 |
||
| 1.9.8-3 | - fix openjdata.org link |
||
| 1.9.8-2 | - update savejson and saveubjson license statement |
||
| 1.9.8-1 | -Avoid double expanding arrayzipdata in savejson and saveubjson |
||
| 1.9.8-0 | -Official reference implementation for JData Spec Draft 2(http://github.com/fangq/jdata)
|
||
| 1.9.0 | - unescape strings in loadjson.m
|
||
| 1.7.0 | ChangeLog:
|
||
| 1.5.0 | -use Big-endian format to store floating points (d/D) in saveubjson
|
||
| 1.3.0 | ChangeLog: 2011/10/21 fix a bug in loadjson, previous code does not use any of the acceleration
|
||
| 1.2.0 | - 2x speed in savejson (Issue#17)
|
||
| 1.1.0 | -massively accelerating loadjson
|