Barracuda Application Server C/C++ Reference
NO
UBJDecoder Struct Reference

Detailed Description

UBJDecoder implements the parser callback API UBJPIntf and builds a pointer value tree when UBJDecoder::get is called.

The pointer value tree is used by the parser callback when the parser feeds the callback with parsed data.

See the JSON and UBJSON tutorial for more information on using UBJDecoder.

#include <ubjsonex.h>

Inheritance diagram for UBJDecoder:

Public Member Functions

int vget (const char *fmt, va_list *argList)
 See UBJDecoder::get for details.
 
int get (const char *fmt,...)
 Build a pointer value tree that is used by the integrated parser callback function when the parser feeds elements to the JDecoder instance. More...
 
 UBJDecoder (U8 *buf, int bufSize, int extraStackLen=0)
 Create/initialize a UBJDecoder instance. More...
 
- Public Member Functions inherited from UBJPIntf
 UBJPIntf (UBJPIntf_Service s)
 Create the callback interface object. More...