Skip to content

C library for the DSON data serialization format, for humans

License

Notifications You must be signed in to change notification settings

frozencemetery/cdson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdson

A pure C parsing and serialization library for the DSON data serialization format, for humans. cdson is believed to have complete spec coverage, though as with any project, there may still be bugs.

Installation

If you're running Fedora, RHEL with EPEL enabled, or a rebuild thereof, rejoice: cdson is available in your distro:

dnf install libcdson-devel

Otherwise, keep reading for instructions to build from source.

Building from source and testing

mkdir build
cd build
meson ..
ninja
meson test # optional
sudo meson install

Usage

#include <cdson.h>

and build with however your buildsystem integrates pkg-config output as usual.

Further documentation is inline in cdson.h.

Contributing

PRs welcome! Test suite must pass, and more tests are welcome too.

Dogs

If you are in the US, and have capacity and desire to care for an animal friend, the ASPCA has a searchable database of adoptable dogs (and cats) in your area.