A super fast json library
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include/json
src
test
README.md
clang-tidy.sh
meson.build
meson_options.txt

README.md

libdocument

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!

Building

You need to install the following dependencies to build libdocument:

Then you can just build and install the library using Meson.

meson build
cd build
ninja
sudo ninja install

Compiling libdocument for SGX

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.