|
Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
|
JDecoder implements the parser callback API JParserIntf and builds a pointer value tree when JDecoder::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 JDecoder.
#include <JDecoder.h>

Public Member Functions | |
| int | vget (const char *fmt, va_list *argList) |
| Build the same schema as get(), consuming a variable argument list. More... | |
| 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... | |
| JDecoder (U8 *buf, int bufSize, int extraStackLen=0) | |
| Create/initialize a JDecoder instance. More... | |
Public Member Functions inherited from JParserIntf | |
| JParserIntf (JParserIntf_Service s) | |
| Create the callback interface object. More... | |
| int | serviceCB (JParserVal *v, int recLevel) |
| Calling the JParserIntf service function is typically performed in a design using a chained parser callback interface. More... | |
Public Attributes | |
| JDecoderS | status |
| Decoder status set by get() and parser callbacks. More... | |