Libdocument is a "super fast" C++17 json library inspired by MongoDB's BSON. All documents are stored in a binary format. The library comes with support for creating modifing and traversing the documents quickly.
Contributions are very welcome!
You need to install the following dependencies to build libdocument:
- Meson + Ninja
- GCC
- Google Testing
- bitstream
Then you can just build and install the library using Meson.
meson build
cd build
ninja
sudo ninja install
Set the sgx_sdk_dir option depending on where you installed the SDK. Usually it is something like this
meson configure -Dsgx_sdk_dir=/opt/intel/sgxsdk
Then just build the library as above. When linking your application, make sure you link against libdocument_sgx.a
and not the shared library. That's it.