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

Detailed Description

The JSON parser parses a JSON stream and calls the JParserIntf callback interface for each parsed object/primitive type.

See also
UBJParser

#include <JParser.h>

Public Member Functions

 JParser (JParserIntf *intf, char *nameBuf, int namebufSize, AllocatorIntf *alloc, int extraStackLen=0)
 Create a JSON parser object. More...
 
int parse (const U8 *buf, U32 size)
 Parse a JSON text chunk. More...
 
 ~JParser ()
 Terminate and release the internal buffers.
 
JParsStat getStatus ()
 Returns the parser status. More...