BloombergLP::baljsn::Decoder_DecodeImpProxy::operator()

Function call operators

Synopses

Declared in <baljsn_decoder.h>

No-op overload for the bslmf::Nil category tag.

template<class TYPE>
int
operator()(
    TYPE* object,
    bslmf::Nil category);
» more...

Decode into the specified object of the specified bdeat category from the data in the JSON format. Return 0 on success and a non-zero value otherwise.

template<
    class TYPE,
    class ANY_CATEGORY>
int
operator()(
    TYPE* object,
    ANY_CATEGORY category);
» more...

Return Value

  • -1; this overload is unreachable
  • 0 on success, and a non-zero value otherwise

Parameters

NameDescription
objectunused object pointer
categoryunused type-category tag (always bslmf::Nil)