Hi, all.
For my little project I've written two libraries in clay: clay-curl and clay-json.
clay-curl is bindings generated by clay-bindgen plus simple wrappers that mostly translate error code to exceptions. Only curl_easy part is covered (not curl_multi).
Library source:
https://github.com/stepancheg/clay-curl/Demo:
https://github.com/stepancheg/clay-curl/blob/master/demo.clayclay-json is from scratch implementation of JSON:
* JSON model (JsonValue variant and JsonNull, JsonBoolean, JsonNumber, JsonString, JsonArray, JsonObject records)
* JSON parser implemented using clay parser combinators library
* JSON printer
* JSON mapper -- transparently converts Clay values into JSON objects and vice versa
Library source:
https://github.com/stepancheg/clay-json/That's it. Any feedback is welcome.
--
Stepan Koltsov