Main Page
Modules
Namespaces
Classes
Files
File List
File Members
sm
lib
json-c
json_util.h
Go to the documentation of this file.
1
/*
2
* $Id: json_util.h,v 1.4 2006/01/30 23:07:57 mclark Exp $
3
*
4
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
5
* Michael Clark <michael@metaparadigm.com>
6
*
7
* 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.
9
*
10
*/
11
12
#ifndef _json_util_h_
13
#define _json_util_h_
14
15
#include "
json_object.h
"
16
17
#define JSON_FILE_BUF_SIZE 4096
18
19
/* utlitiy functions */
20
extern
struct
json_object
*
json_object_from_file
(
char
*filename);
21
extern
int
json_object_to_file
(
char
*filename,
struct
json_object
*obj);
22
23
#endif
json_object.h
json_object_to_file
int json_object_to_file(char *filename, struct json_object *obj)
Definition:
json_util.c:85
json_object_from_file
struct json_object * json_object_from_file(char *filename)
Definition:
json_util.c:54
json_object
Definition:
json_object_private.h:21
csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23