XOD 0.36.0: Records and JSON Serialization

Victor Nakoryakov
XODlang
Published in
Oct 29, 2020

Hi, there! Today we release the new 0.36.0 version of the XOD visual programming language. The main topic of the update is Records. Sure, you know the basic data types used in XOD: numbers, booleans, pulses, strings. Many things are too complicated to be expressed in terms of a single basic value. But any such complicated thing might be decomposed into simpler things, and so on, and so on, until the basic values. XOD Records is the feature to combine the simpler types to form a new type.

It was possible earlier, actually, but you have had to dive into C++ to define such a type. Version 0.36.0 introduces a xod/patch-nodes/record marker node to group all the input values into a new supertype. Once you place this marker, a few more patches are generated to work with the new type.

What makes the records more interesting is the automatic generation of its JSON serializer. Now you can build complex nested JSON’s to interact with various web APIs easily.

Learn records in detail with the new guide article:

As usual, the release includes other small improvements and enhancements. Read the full list on GitHub.

Get the new version of XOD from the downloads page or try it directly in your browser. If you have XOD installed already, click the update message when IDE starts.

--

--