absl::Status MessageUtil::loadFromJsonNoThrow(absl::string_view json, Protobuf::Message& message,
absl::Status MessageUtil::loadFromJsonNoThrow(absl::string_view json, Protobuf::Struct& message) {
auto json_or_error = getJsonStringFromMessage(message, false, always_print_primitive_fields);
MessageUtil::getJsonStringFromMessage(const Protobuf::Message& message, const bool pretty_print,
// By default, proto field names are converted to camelCase when the message is converted to JSON.
// Primitive types such as int32s and enums will not be serialized if they have the default value.
std::string utf8CoerceToStructurallyValid(absl::string_view str, const char replace_char) {