Serialize/deserialize local or global variable subtrees

27 views
Skip to first unread message

K.S. Bhaskar

unread,
Jun 27, 2025, 3:28:55 PMJun 27
to hard...@googlegroups.com, everyth...@googlegroups.com
The YottaDB code base now has functionality to encode and decode local and global variable (sub)trees as JSON strings. It uses the popular Jansson library (https://github.com/akheron/jansson); packages are available for common Linux distributions. The functionality is currently documented in a Draft Release Note (https://gitlab.com/YottaDB/DB/YDB/-/issues/474#draft-release-note), and will be part of the upcoming r2.04 release.

From a development perspective, this quite different in that the functionality is initially available through our C API, and will subsequently (as part of the ongoing r2.04 development) be available from M (https://gitlab.com/YottaDB/DB/YDB/-/issues/1152). Over time, we intend to make it available through our other language APIs (e.g., https://gitlab.com/YottaDB/Lang/YDBGo/-/issues/57 for Go).

If you care to try it, you will need to build YottaDB from source. You can follow the instructions at https://gitlab.com/YottaDB/DB/YDB or run commands such as the following (specify your preferred installation directory to the --installdir option). To build it you will need to have the Jansson header files installed.

mkdir /tmp/tmp && cd /tmp/tmp && wget -q https://download.yottadb.com/ydbinstall.sh && chmod +x ydbinstall.sh
sudo ./ydbinstall.sh --from-source --branch master --installdir /opt/yottadb/r203

If you do try it, please let us know what you think. Thank you very much.

Regards
- Bhaskar

--
YottaDB - The most scalable key-value database engine in the world?
Find out for yourself.
Reply all
Reply to author
Forward
0 new messages