json-c  0.15
Data Structures | Macros | Typedefs | Enumerations
json_types.h File Reference

Basic types used in a few places in json-c, but you should include "json_object.h" instead. More...

Data Structures

struct  json_object_iter
 

Macros

#define JSON_EXPORT   extern
 

Typedefs

typedef struct json_object_iter json_object_iter
 
typedef int json_bool
 
typedef struct json_object json_object
 The core type for all type of JSON objects handled by json-c.
 
typedef void( json_object_delete_fn )(struct json_object *jso, void *userdata)
 
typedef int( json_object_to_json_string_fn )(struct json_object *jso, struct printbuf *pb, int level, int flags)
 
typedef enum json_type json_type
 

Enumerations

enum  json_type {
  json_type_null, json_type_boolean, json_type_double, json_type_int,
  json_type_object, json_type_array, json_type_string
}
 

Detailed Description

Basic types used in a few places in json-c, but you should include "json_object.h" instead.

Macro Definition Documentation

#define JSON_EXPORT   extern

Typedef Documentation

typedef int json_bool
typedef struct json_object json_object

The core type for all type of JSON objects handled by json-c.

typedef void( json_object_delete_fn)(struct json_object *jso, void *userdata)

Type of custom user delete functions. See json_object_set_serializer.

typedef int( json_object_to_json_string_fn)(struct json_object *jso, struct printbuf *pb, int level, int flags)

Type of a custom serialization function. See json_object_set_serializer.

typedef enum json_type json_type

Enumeration Type Documentation

enum json_type
Enumerator:
json_type_null 
json_type_boolean 
json_type_double 
json_type_int 
json_type_object 
json_type_array 
json_type_string