![]()
The xchange library provides structured data representation and exchange in C/C++, and includes support for JSON parsing and generation. It is free to use, in any way you like, without licensing restrictions.
For JSON parsing end emitting, xchange provides a higher-level data model than cjson, with high-level functions for accessing and manipulating data both with less code and with cleaner code.
The xchange library was created, and is maintained, by Attila Kovács (Sigmyne, LLC), and it is available through the Sigmyne/xchange repository on GitHub.
This site contains various online resources that support the library:
Documentation
- User’s guide (
README.md) - API Documentation
- History of changes (
CHANGELOG.md) - Issues affecting xchange releases (past and/or present)
- Community Forum – ask a question, provide feedback, or check announcements.
Downloads
- Releases from GitHub
Linux Packages
SuperNOVAS is also available in packaged for for Fedora / EPEL It has the following package structure, which allows non-bloated installations of just the parts that are needed for the particular use case(s):
| Fedora / EPEL RPM | Description |
|---|---|
libxchange |
Runtime library (libxchange.so.1) |
libxchange-devel |
C headers and unversion shared library |
libxchange-doc |
HTML Developer documentation |
vcpkg Registry
You can also install the xchange library with vcpkg on Linux, MacOS, Windows, and Android as:
$ vcpkg install xchange
Homebrew
Or, install via the Homebrew package manager (MacOS and Linux) through the maintainer’s own Tap:
$ brew tap attipaci/pub
$ brew install xchange
For more customized installations, you can add the following options also:
| Option | Description |
|---|---|
--with-doxygen |
Install local HTML documentation, compiled with Doxygen, also |