Logo Search packages:      
Sourcecode: yajl version File versions

yajl_status YAJL_API yajl_parse ( yajl_handle  hand,
const unsigned char *  jsonText,
unsigned int  jsonTextLength 

Parse some json!

hand - a handle to the json parser allocated with yajl_alloc
jsonText - a pointer to the UTF8 json text to be parsed
jsonTextLength - the length, in bytes, of input text

Definition at line 117 of file yajl.c.

References yajl_parse().

Referenced by yajl_parse(), and yajl_parse_complete().

    unsigned int offset = 0;
    yajl_status status;
    status = yajl_do_parse(hand, &offset, jsonText, jsonTextLen);
    return status;

Generated by  Doxygen 1.6.0   Back to index