Load into the specified data the value of the current token.

Synopsis

Declared in <baljsn_jsontokenizer.h>

int
value(bdljsn::Json const** data) const;

Description

Return 0 on success and a non‐zero value otherwise. The behavior is undefined unless e_ELEMENT_VALUE == tokenType().

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

data

receives a pointer to the current scalar JSON value

Created with MrDocs