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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
tastytea ffb0438776
Removed superfluous consts.
1 year ago
src Removed superfluous consts. 1 year ago
.drone.yml Updated drone recipe 1 year ago
.gitignore initial commit 1 year ago
CMakeLists.txt Removed superfluous consts. 1 year ago
Doxyfile initial commit 1 year ago
README.md Added drone file 1 year ago
generate_doc.sh initial commit 1 year 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/.