[#BloombergLP-bdljsn-Tokenizer-value] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Tokenizer.adoc[Tokenizer]::value :relfileprefix: ../../../ :mrdocs: Load into the specified `data` the value of the specified token if the current token's type is `e_ELEMENT_NAME` or `e_ELEMENT_VALUE` or leave `data` unmodified otherwise. Return 0 on success and a non‐zero value otherwise. Note that the returned `data` is only valid until the next manipulator call on this object. == Synopsis Declared in `<bdljsn_tokenizer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int value(std::string_view* data) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#