base/libs/json/json.h File Reference

#include <wchar.h>
#include <stdint.h>

Include dependency graph for json.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  json_parsing_info
struct  json_saxy_functions
struct  json_saxy_parser_status
struct  json_value

Defines

#define JSON_MAX_STRING_LENGTH

Typedefs

typedef struct json_value json_t

Enumerations

enum  json_error {
  JSON_OK, JSON_INCOMPLETE_DOCUMENT, JSON_WAITING_FOR_EOF, JSON_MALFORMED_DOCUMENT,
  JSON_INCOMPATIBLE_TYPE, JSON_MEMORY, JSON_ILLEGAL_CHARACTER, JSON_BAD_TREE_STRUCTURE,
  JSON_MAXIMUM_LENGTH, JSON_UNKNOWN_PROBLEM
}
enum  json_value_type {
  JSON_STRING, JSON_NUMBER, JSON_OBJECT, JSON_ARRAY,
  JSON_TRUE, JSON_FALSE, JSON_NULL
}

FunctionsTitleTestFour

char * json_escape (char *text)
json_tjson_find_first_label (const json_t *object, const char *text_label)
char * json_format_string (const char *text)
void json_free_value (json_t **value)
enum json_error json_insert_child (json_t *parent, json_t *child)
enum json_error json_insert_pair_into_object (json_t *parent, const char *text_label, json_t *value)
void json_jpi_init (struct json_parsing_info *jpi)
json_tjson_new_array (void)
json_tjson_new_false (void)
json_tjson_new_null (void)
json_tjson_new_number (const char *text)
json_tjson_new_object (void)
json_tjson_new_string (const char *text)
json_tjson_new_true (void)
json_tjson_new_value (const enum json_value_type type)
enum json_error json_parse_document (json_t **root, char *text)
enum json_error json_parse_fragment (struct json_parsing_info *info, char *buffer)
enum json_error json_saxy_parse (struct json_saxy_parser_status *jsps, struct json_saxy_functions *jsf, char c)
void json_strip_white_spaces (char *text)
enum json_error json_tree_to_string (json_t *root, char **text)


Detailed Description

A small library that helps deal with JSON-encoded information

Note:
error handling is only in a very rudimentary form.
Author:
Rui Maciel rui_maciel@users.sourceforge.net
Version:
v0.9

Definition in file json.h.


Generated on Wed Sep 20 07:00:31 2017 for JSOC_Documentation by  doxygen 1.5.7.1