blob: b3f53b66f7978acad1bd90ab627dd2f7ac3f544c [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
Michael Clark75d0f122009-01-10 14:14:12 +000019/* utility functions */
Michael Clarkf0d08882007-03-13 08:26:18 +000020extern struct json_object* json_object_from_file(char *filename);
21extern int json_object_to_file(char *filename, struct json_object *obj);
22
23#endif