json number array(such as "numb_array":[1,2,3]) parse to protobuf bytes(bytes numb_array;) faild.
It seem that protobuf "bytes type return string" while json type is array, not a string
file:pbjson.cpp
static int json2field(...
...
case FieldDescriptor::CPPTYPE_STRING:
{
if (json->GetType() != rapidjson::kStringType)
{
RETURN_ERR(ERR_INVALID_JSON, "Not a string");
...
json number array(such as "numb_array":[1,2,3]) parse to protobuf bytes(bytes numb_array;) faild. It seem that protobuf "bytes type return string" while json type is array, not a string
file:pbjson.cpp static int json2field(... ... case FieldDescriptor::CPPTYPE_STRING: { if (json->GetType() != rapidjson::kStringType) { RETURN_ERR(ERR_INVALID_JSON, "Not a string"); ...