blob: 30fe2ab2c4dfefceb88cfc9b82fa694833f58d91 [file] [log] [blame]
Michael Clark4504df72007-03-13 08:26:20 +00001/*
Michael Clark837240f2007-03-13 08:26:25 +00002 * $Id: json_util.h,v 1.4 2006/01/30 23:07:57 mclark Exp $
Michael Clark4504df72007-03-13 08:26:20 +00003 *
Michael Clarkf6a6e482007-03-13 08:26:23 +00004 * Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
Michael Clark4504df72007-03-13 08:26:20 +00005 * Michael Clark <michael@metaparadigm.com>
6 *
Michael Clarkf6a6e482007-03-13 08:26:23 +00007 * This library is free software; you can redistribute it and/or modify
8 * it under the terms of the MIT license. See COPYING for details.
Michael Clark4504df72007-03-13 08:26:20 +00009 *
10 */
11
Michael Clarkf0d08882007-03-13 08:26:18 +000012#ifndef _json_util_h_
13#define _json_util_h_
14
15#include "json_object.h"
16
Michael Clarkf0d08882007-03-13 08:26:18 +000017#define JSON_FILE_BUF_SIZE 4096
18
19/* utlitiy functions */
20extern struct json_object* json_object_from_file(char *filename);
21extern int json_object_to_file(char *filename, struct json_object *obj);
22
23#endif