JData
JData is a light-weight data annotation and exchange open-standard designed to represent general-purpose and scientific data structures using human-readable (text-based) JSON and (binary) UBJSON formats. JData specification specifically aims at simplifying exchange of hierarchical and complex data between programming languages, such as MATLAB, Python, JavaScript etc. It defines a comprehensive list of JSON-compatible "name":value constructs to store a wide range of data structures, including scalars, N-dimensional arrays, sparse/complex-valued arrays, maps, tables, hashes, linked lists, trees and graphs, and support optional data grouping and metadata for each data element. The generated data files are compatible with JSON/UBJSON specifications and can be readily processed by most existing parsers. JData-defined annotation keywords also permit storage of strongly-typed binary data streams in JSON, data compression, linking and referencing.
JData is a light-weight data annotation and exchange open-standard designed to represent general-purpose and scientific data structures using human-readable (text-based) JSON and (binary) UBJSON formats. JData specification specifically aims at simplifying exchange of hierarchical and complex data between programming languages, such as MATLAB, Python, JavaScript etc. It defines a comprehensive list of JSON-compatible "name":value constructs to store a wide range of data structures, including scalars, N-dimensional arrays, sparse/complex-valued arrays, maps, tables, hashes, linked lists, trees and graphs, and support optional data grouping and metadata for each data element. The generated data files are compatible with JSON/UBJSON specifications and can be readily processed by most existing parsers. JData-defined annotation keywords also permit storage of strongly-typed binary data streams in JSON, data compression, linking and referencing. ==History== The initial development of the JData annotation scheme started in 2011 as part of the development of the JSONLab Toolbox - a widely used open-source MATLAB/GNU Octave JSON reader/writer. The majority of the annotated N-D array constructs, such as _ArrayType_ , _ArraySize_ , and _ArrayData_ , had been implemented in the early releases of JSONLab. In 2015, the first draft of the JData Specification was developed in the Iso2Mesh Wiki; since 2019, the subsequent development of the specification has been migrated to Github. ==Releases== ==JData annotation examples== ===Numerical scalars=== Numerical values are directly supported by either JSON or UBJSON specifications. A numerical value is typically unchanged when converting to the JData annotation. When storing as files, they are directly stored in the JSON/UBJSON numerical value forms. For example ===Special constants and strings=== There are a few special constants, namely "NaN", "Infinity" and "-Infinity", they are encoded as special string keywords when stored in the JSON/text-JData formats, but stay unchanged when stored in the binary JData format ===2-D arrays in the annotated format=== In JData specification, we introduced a light-weight data annotation approach to allow one to specify additional information, such as data type, data size and compression, in the stored data record. This is achieved using a "structure-like" data container (a structure is supported in almost all programming language) with JData-specified human-readable subfield keywords. This construct is also easily serialized using many of the existing JSON/UBJSON libraries. For example, the above 2-D array can be alternatively stored using the annotated format to allow fine-grained data storage ===Array data with compression=== JData annotations supports data compression to save space. Several additional keywords are needed, including - the compression method used, - the dimension vector of the "preprocessed" data stored in the construct before compression, and - the compressed data byte-stream. For example, ===Complex-number and complex-valued arrays=== A complex-valued data record must be stored using the "annotated array format". This is achieved via the presence of _ArrayIsComplex_ keyword and the serialization of the complex values in the _ArrayData_ constructs in the order of ==See also== MessagePack
References
- MCX Cloud—a modern, scalable, high-performance and in-browser Monte Carlo simulation platform with cloud computing · retrieved 2026-11-18 · rev 1336054045
Cite this reference
MLA "MCX Cloud—a modern, scalable, high-performance and in-browser Monte Carlo simulation platform with cloud computing." Fang, Qianqian; Yan, Shijie (2022). 2026-11-18. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8728956. Accessed 24 November 2026.
Chicago "MCX Cloud—a modern, scalable, high-performance and in-browser Monte Carlo simulation platform with cloud computing." Fang, Qianqian; Yan, Shijie (2022). 2026-11-18. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8728956.
APA Fang, Qianqian; Yan, Shijie (2022). (2026). MCX Cloud—a modern, scalable, high-performance and in-browser Monte Carlo simulation platform with cloud computing. Retrieved November 24, 2026, from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8728956
- JData Specification - Version 1 Draft 2 · retrieved 2026-11-18 · rev 1336054045
Cite this reference
MLA "JData Specification - Version 1 Draft 2." a b c "JData Specification - Version 1 Draft 2". 2026-11-18. https://github.com/NeuroJSON/jdata/blob/Draft_2/JData_specification.md. Accessed 24 November 2026.
Chicago "JData Specification - Version 1 Draft 2." a b c "JData Specification - Version 1 Draft 2". 2026-11-18. https://github.com/NeuroJSON/jdata/blob/Draft_2/JData_specification.md.
APA a b c "JData Specification - Version 1 Draft 2". (2026). JData Specification - Version 1 Draft 2. Retrieved November 24, 2026, from https://github.com/NeuroJSON/jdata/blob/Draft_2/JData_specification.md
- Binary JData for Python - a lightweight binary JSON format · retrieved 2026-11-18 · rev 1336054045
Cite this reference
MLA "Binary JData for Python - a lightweight binary JSON format." 2026-11-18. https://pypi.org/project/bjdata/. Accessed 24 November 2026.
Chicago "Binary JData for Python - a lightweight binary JSON format." 2026-11-18. https://pypi.org/project/bjdata/.
APA encyclopegia.org. (2026). Binary JData for Python - a lightweight binary JSON format. Retrieved November 24, 2026, from https://pypi.org/project/bjdata/
- JData for Python - a lightweight and portable data annotation method · retrieved 2026-11-18 · rev 1336054045
Cite this reference
MLA "JData for Python - a lightweight and portable data annotation method." 2026-11-18. https://pypi.org/project/jdata/. Accessed 24 November 2026.
Chicago "JData for Python - a lightweight and portable data annotation method." 2026-11-18. https://pypi.org/project/jdata/.
APA encyclopegia.org. (2026). JData for Python - a lightweight and portable data annotation method. Retrieved November 24, 2026, from https://pypi.org/project/jdata/
- NeuroJSON/jdata · retrieved 2026-11-18 · rev 1336054045
Cite this reference
MLA "NeuroJSON/jdata." 2026-11-18. https://github.com/NeuroJSON/jdata. Accessed 24 November 2026.
Chicago "NeuroJSON/jdata." 2026-11-18. https://github.com/NeuroJSON/jdata.
APA encyclopegia.org. (2026). NeuroJSON/jdata. Retrieved November 24, 2026, from https://github.com/NeuroJSON/jdata
Cite this article
MLA
"JData." encyclopegia.org, 2026, https://encyclopegia.org/wiki/jdata. Accessed 24 November 2026.
Chicago
"JData." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/jdata.
APA
encyclopegia.org. (2026). JData. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/jdata
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON