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);

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);

Return Value

  • ‐1; this overload is unreachable

  • 0 on success, and a non‐zero value otherwise

Parameters

Name

Description

object

unused object pointer

category

unused type‐category tag (always bslmf::Nil)

Created with MrDocs