Quick Links: |
#include <baljsn_decoder.h>
Public Member Functions | |
template<class TYPE > | |
int | operator() (TYPE *, bslmf::Nil) |
template<class TYPE , class ANY_CATEGORY > | |
int | operator() (TYPE *object, ANY_CATEGORY category) |
Public Attributes | |
Decoder * | d_decoder_p |
int | d_mode |
This class provides a functor that dispatches the appropriate decodeImp
method for a bdeat
Dynamic type. Note that the operators provided in this class
match the function signatures required of visitors decoding into compatible types.
int baljsn::Decoder_DecodeImpProxy::operator() | ( | TYPE * | , | |
bslmf::Nil | ||||
) |
int baljsn::Decoder_DecodeImpProxy::operator() | ( | TYPE * | object, | |
ANY_CATEGORY | category | |||
) |
Dencode into the specified value
of the specified bdeat
category
from the data in the JSON format. Return 0 on success and a non-zero value otherwise.
decoder (held, not owned)
formatting mode