Wrapper around jsoncpp that writes and reads files in the XDG configuration directory.
This repository has been archived on 2020-05-16. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
tastytea ffb0438776
All checks were successful
the build was successful
Removed superfluous consts.
2019-01-01 09:42:42 +01:00
src Removed superfluous consts. 2019-01-01 09:42:42 +01:00
.drone.yml Updated drone recipe 2018-11-02 23:56:32 +01:00
.gitignore initial commit 2018-08-10 03:34:50 +02:00
CMakeLists.txt Removed superfluous consts. 2019-01-01 09:42:42 +01:00
Doxyfile initial commit 2018-08-10 03:34:50 +02:00
generate_doc.sh initial commit 2018-08-10 03:34:50 +02:00
README.md Added drone file 2018-08-11 08:49:17 +02:00

xdgjson is a very simple wrapper around jsoncpp written in C++. It reads and writes files in ${XDG_CONFIG_HOME}. It creates subdirectories if necessary.

Dependencies

Usage

You can create dynamic and static libraries:

mkdir build
cd build
cmake ..
make
make install

Or just copy xdgjson.hpp and xdgjson.cpp into your project folder.

Documentation

xdgjson.hpp has explanatory comments in it and there is an example. The reference is also available at doc.schlomp.space/xdgjson/.