djpnewton/kowhai — Issue #10: serializer / deserializer
Author: djpnewton
Created: 2011-12-04 22:24:57+00:00
State: open

Would be nice to have a portable low level c serializer.

Something like:
int kowhai_serialize(kowhai_tree_t* tree, char* target_buffer, int target_size);
int kowhai_deserialize(char* buffer, int size, void* target_tree, int* target_size);

would be nice :)

perhaps serialization to json would be good:
http://www.json.org/ (jasmine could work: https://bitbucket.org/zserge/jsmn/src/d383cfe1e6e7/README)