Wrapper around jsoncpp that writes and reads files in the XDG configuration directory.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tastytea 1a10ef6686
Updated drone recipe
1 month ago
src Fixed bug: Parent directories were only created if subdir was non-empty 1 month ago
.drone.yml Updated drone recipe 1 month ago
.gitignore initial commit 4 months ago
CMakeLists.txt Updated drone recipe 1 month ago
Doxyfile initial commit 4 months ago
README.md Added drone file 4 months ago
generate_doc.sh initial commit 4 months ago

README.md

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/.