1. How to use JData?

The simplest way to use JData in your project is to "drop-in" one of our light-weight JData-compatible libraries, according to your programming language, and use the provided saving/loading interfaces to export and load your data. The currently developed JData-optimized libraries include

As you can see, these toolboxes are super light-weight, with minimum number of dependencies (if present, mostly lightweight and widely available). Therefore, you can add them to your project without much burden and complexity. All our above libraries are open-source with compact source codes available if you are interested in understanding the JData format handling.

What if your programming language has not yet have a JData-compatible library? you can still read/write JData files easily by incorporating one of hundreds freely available JSON parsers or one of nearly 50 UBJSON free parsers. As we mentioned, JData extends JSON/UBJSON in the semantics layer and is syntactically 100% compatible with JSON (and nearly 100% compatible with UBJSON).

If your software already supports reading/writing JSON files, you are already able to load JData files without any additional work. The only work that our above JData-compatible libraries do is an additional step of recognizing JData-defined keywords and reassemble them to the native language data structures (i.e. JData-decoding), or split a complex native data into JSON serializable constructs (i.e. JData-encoding) when saving the data structures. If your language do not have our JData encoder/decoder, your code can still fully access the JData represented data using the JSON interfaces.

Powered by Habitat