Home
last modified time | relevance | path

Searched refs:JsonValue (Results 1 – 6 of 6) sorted by relevance

/external/python/apitools/apitools/base/py/
Dextra_types_test.py50 extra_types._ValidateJsonValue(extra_types.JsonValue())
53 extra_types.JsonValue(is_null=True, string_value='a'))
56 extra_types.JsonValue(integer_value=3, string_value='a'))
59 self.assertTranslations(None, extra_types.JsonValue(is_null=True))
62 seventeen = extra_types.JsonValue(integer_value=17)
67 json_pi = extra_types.JsonValue(double_value=math.pi)
75 extra_types.JsonValue(integer_value=3),
76 extra_types.JsonValue(string_value='four'),
77 extra_types.JsonValue(boolean_value=False),
86 value = encoding.JsonToMessage(extra_types.JsonValue, array_json)
[all …]
Dextra_types.py85 util.Typecheck(json_value, JsonValue)
120 return JsonValue(is_null=True)
122 return JsonValue(boolean_value=py_value)
124 return JsonValue(string_value=py_value)
128 return JsonValue(integer_value=py_value)
129 return JsonValue(double_value=float(py_value))
131 return JsonValue(object_value=_PythonValueToJsonObject(py_value))
133 return JsonValue(array_value=_PythonValueToJsonArray(py_value))
150 class JsonValue(messages.Message): class
188 value = messages.MessageField(JsonValue, 2)
[all …]
Dencoding.py721 if isinstance(msg, extra_types.JsonValue) and msg.array_value:
727 if isinstance(msg, extra_types.JsonValue):
Dencoding_test.py136 value = messages.MessageField(extra_types.JsonValue, 2, repeated=True)
/external/python/apitools/samples/servicemanagement_sample/
Dmessages_test.py40 value=extra_types.JsonValue(
43 value=extra_types.JsonValue(
46 value=extra_types.JsonValue(
51 value=extra_types.JsonValue(
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_messages.py1521 JsonValue = extra_types.JsonValue variable