BloombergLP::baljsn::JsonTokenizer::value

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

Synopsis

Declared in <baljsn_jsontokenizer.h>

int
value(std::string_view* data) const;

Description

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

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
datareceives the current element name