Searched refs:JsonToMessage (Results 1 – 4 of 4) sorted by relevance
/external/python/apitools/apitools/base/py/ |
D | encoding_test.py | 251 orig_msg = encoding.JsonToMessage(MessageWithEnum, json_msg) 271 orig_msg = encoding.JsonToMessage(MapToMessageWithEnum, json_msg) 290 msg, encoding.JsonToMessage(BytesMessage, urlsafe_b64_msg)) 291 self.assertEqual(msg, encoding.JsonToMessage(BytesMessage, b64_msg)) 298 rep_msg, encoding.JsonToMessage(BytesMessage, enc_rep_msg)) 309 msg = encoding.JsonToMessage(MapToBytesValue, json_data) 318 redone_msg = encoding.JsonToMessage(MapToBytesValue, 362 msg = encoding.JsonToMessage(MapToMessageWithEnum, json_msg) 416 new_msg = encoding.JsonToMessage(type(msg), encoded_msg) 428 msg = encoding.JsonToMessage(HasNestedMessage, json_msg) [all …]
|
D | extra_types_test.py | 85 value = encoding.JsonToMessage(extra_types.JsonValue, array_json) 92 value = encoding.JsonToMessage(extra_types.JsonValue, obj_json) 140 encoding.JsonToMessage(HasJsonValueMsg, msg_json)) 161 msg, encoding.JsonToMessage(DateMsg, json.dumps(msg_dict))) 178 return encoding.JsonToMessage(class_type, json_str)
|
D | encoding_helper.py | 112 return JsonToMessage(type(message), MessageToJson(message)) 121 def JsonToMessage(message_type, message): function 129 return JsonToMessage(message_type, json.dumps(d)) 152 return JsonToMessage(message_type, json.dumps(value))
|
D | base_api.py | 446 message = encoding.JsonToMessage(response_type, data)
|