diff options
author | Michael Clark <michael@metaparadigm.com> | 2007-03-13 08:26:18 +0000 |
---|---|---|
committer | Michael Clark <michael@metaparadigm.com> | 2007-03-13 08:26:18 +0000 |
commit | f0d08887b857fce1fe95a68d29eb7a07cd527d7c (patch) | |
tree | d4b37e182674cf62fb7671b0f6b033ff858aa1f5 /json_util.h | |
parent | 6d59966c4ef28fb4462f735c11f43ca93a62049f (diff) | |
download | json-c-f0d08887b857fce1fe95a68d29eb7a07cd527d7c.tar.gz |
import of version 0.1
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@2 327403b1-1117-474d-bef2-5cb71233fd97
Diffstat (limited to 'json_util.h')
-rw-r--r-- | json_util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/json_util.h b/json_util.h new file mode 100644 index 0000000..32a0428 --- /dev/null +++ b/json_util.h @@ -0,0 +1,13 @@ +#ifndef _json_util_h_ +#define _json_util_h_ + +#include "json_object.h" + + +#define JSON_FILE_BUF_SIZE 4096 + +/* utlitiy functions */ +extern struct json_object* json_object_from_file(char *filename); +extern int json_object_to_file(char *filename, struct json_object *obj); + +#endif |