library/src/javascript/JSON/BP-LibJSMN.cc
/**
 * Creates a new parser based over a given  buffer with an array of tokens
 * available.
 */
Creates a new parser based over a given  buffer with an array of tokens
available.
Creates a new parser based over a given buffer with an array of tokens available .
void jsmn_init
(
		P_BP_JSON    json,
		jsmn_parser *parser
)
{
	if(!json)
		return;
	if(!parser)
		return;
	parser->pos      = 0;
	parser->toknext  = 0;
	parser->toksuper = -1;
}
void jsmn_init ( P_BP_JSON json , jsmn_parser * parser ) { if ( ! json ) return ; if ( ! parser ) return ; parser -> pos = 0 ; parser -> toknext = 0 ; parser -> toksuper = -1 ; }
Creates a new parser based over a given  buffer with an array of tokens
 available.
Creates a new parser based over a given buffer with an array of tokens available .
// basic null checks