#include "ProtobufJSON.h"
#include "Errors.h"
#include "Log.h"
#include "StringFormat.h"
#include <google/protobuf/message.h>
#include <rapidjson/writer.h>
#include <rapidjson/reader.h>
#include <rapidjson/stringbuffer.h>
#include <stack>
Go to the source code of this file.
◆ SET_FIELD
#define SET_FIELD |
( |
|
message, |
|
|
|
field, |
|
|
|
Type, |
|
|
|
val |
|
) |
| |
Value: do { \
if (!field->is_repeated()) \
message->GetReflection()->Set ##
Type(message, field, val); \
else \
message->GetReflection()->Add ##
Type(message, field, val); \
_state.pop(); \
} while (0)
Definition at line 248 of file ProtobufJSON.cpp.