JSONLab is a free and open-source JSON/UBJSON/MessagePack encoder and decoder written in the native MATLAB language. It can be used to convert a MATLAB data structure (array, struct, cell, struct array, cell array, and objects) into JSON/UBJSON/MessagePack formatted strings and files, or to parse a JSON/UBJSON/MessagePack file into MATLAB data structure. JSONLab supports nearly all versions of MATLAB and GNU Octave (a free MATLAB clone). The development of JSONLab is currently funded by the US National Institute of Health (NIH) as part of the NeuroJSON project (data portal https://neurojson.io) under grant U24-NS124027. The goal of the NeuroJSON project is to develop scalable, searchable, and reusable neuroimaging data formats and data-sharing platforms. All data produced from the NeuroJSON project will be using JSON/Binary JData formats as the underlying serialization standards and the lightweight JData specification as a language-independent data annotation standard.
Features
- BSD or GNU General Public License version 3 (GPL v3), see License*.txt
- MATLAB R2008 or newer, GNU Octave 3.8 or newer
- Documentation available
- Examples available
- Share JSONLab created data files in Python
- In-memory data compression/decompression