Logo Search packages:      
Sourcecode: yajl version File versions

yajl_parse.h File Reference

Detailed Description

Interface to YAJL's JSON parsing facilities.

Definition in file yajl_parse.h.

#include <yajl/yajl_common.h>

Go to the source code of this file.


struct  yajl_callbacks
struct  yajl_parser_config


typedef struct yajl_handle_t * yajl_handle


enum  yajl_status { yajl_status_ok, yajl_status_client_canceled, yajl_status_insufficient_data, yajl_status_error }


yajl_handle YAJL_API yajl_alloc (const yajl_callbacks *callbacks, const yajl_parser_config *config, const yajl_alloc_funcs *allocFuncs, void *ctx)
void YAJL_API yajl_free (yajl_handle handle)
void YAJL_API yajl_free_error (yajl_handle hand, unsigned char *str)
unsigned char *YAJL_API yajl_get_error (yajl_handle hand, int verbose, const unsigned char *jsonText, unsigned int jsonTextLength)
yajl_status YAJL_API yajl_parse (yajl_handle hand, const unsigned char *jsonText, unsigned int jsonTextLength)
yajl_status yajl_parse_complete (yajl_handle hand)
const char *YAJL_API yajl_status_to_string (yajl_status code)

Generated by  Doxygen 1.6.0   Back to index