[#BloombergLP-baljsn-DecoderOptions-accessAttribute-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/DecoderOptions.adoc[DecoderOptions]::accessAttribute :relfileprefix: ../../../ :mrdocs: Invoke the specified `accessor` on the (non‐modifiable) attribute of this object indicated by the specified `name` of the specified `nameLength`, supplying `accessor` with the corresponding attribute information structure. Return the value returned from the invocation of `accessor` if `name` identifies an attribute of this class, and ‐1 otherwise. == Synopsis Declared in `<baljsn_decoderoptions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename t_ACCESSOR> int accessAttribute( t_ACCESSOR& accessor, char const* name, int nameLength) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#