286 _errors.emplace_back(
"Expected field type to be bytes but got string instead.");
290 currentValue.append(1, (
char)i);
CppType cpp_type() const
Definition: descriptor.h:1641
Definition: descriptor.h:381
Definition: descriptor.h:363
Definition: message.h:165
std::stack< google::protobuf::FieldDescriptor const * > _state
Definition: ProtobufJSON.cpp:210
virtual void SetString(Message *message, const FieldDescriptor *field, const string &value) const =0
std::stack< google::protobuf::Message * > _objectState
Definition: ProtobufJSON.cpp:211
virtual const Reflection * GetReflection() const
Definition: message.h:301
unsigned int UInt32
Definition: bzlib_private.h:45
std::string StringFormat(Format &&fmt, Args &&...args)
Default TC string format function.
Definition: StringFormat.h:28
Definition: descriptor.h:387
Definition: descriptor.h:342
std::vector< std::string > _errors
Definition: ProtobufJSON.cpp:212
#define SET_FIELD(message, field, Type, val)
Definition: ProtobufJSON.cpp:247
virtual string GetString(const Message &message, const FieldDescriptor *field) const =0