Home
last modified time | relevance | path

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

12

/external/rust/crates/nom/tests/
Djson.rs13 pub enum JsonValue { enum
16 Array(Vec<JsonValue>),
17 Object(HashMap<String, JsonValue>),
37 array<Vec<JsonValue>>,
46 key_value<(&str, JsonValue)>,
51 hash<HashMap<String, JsonValue>>,
55 let mut h: HashMap<String, JsonValue> = HashMap::new();
65 value<JsonValue>,
67 hash => { |h| JsonValue::Object(h) } |
68 array => { |v| JsonValue::Array(v) } |
[all …]
/external/python/apitools/apitools/base/py/
Dextra_types_test.py49 extra_types._ValidateJsonValue(extra_types.JsonValue())
52 extra_types.JsonValue(is_null=True, string_value='a'))
55 extra_types.JsonValue(integer_value=3, string_value='a'))
58 self.assertTranslations(None, extra_types.JsonValue(is_null=True))
61 seventeen = extra_types.JsonValue(integer_value=17)
66 json_pi = extra_types.JsonValue(double_value=math.pi)
74 extra_types.JsonValue(integer_value=3),
75 extra_types.JsonValue(string_value='four'),
76 extra_types.JsonValue(boolean_value=False),
85 value = encoding.JsonToMessage(extra_types.JsonValue, array_json)
[all …]
Dextra_types.py89 util.Typecheck(json_value, JsonValue)
124 return JsonValue(is_null=True)
126 return JsonValue(boolean_value=py_value)
128 return JsonValue(string_value=py_value)
132 return JsonValue(integer_value=py_value)
133 return JsonValue(double_value=float(py_value))
135 return JsonValue(object_value=_PythonValueToJsonObject(py_value))
137 return JsonValue(array_value=_PythonValueToJsonArray(py_value))
154 class JsonValue(messages.Message): class
192 value = messages.MessageField(JsonValue, 2)
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DJsonValueTest.java28 @JsonValue T value() { return _value; } in value()
33 @JsonValue(true)
53 @JsonValue T value() { return super.value(); } in value()
78 @JsonValue
84 @JsonValue
95 @JsonValue
104 @JsonValue
110 @JsonValue
118 @JsonValue(false)
121 @JsonValue(false)
[all …]
DEnumAsMapKeyTest.java7 import com.fasterxml.jackson.annotation.JsonValue;
38 @JsonValue
/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/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DEnumDeserializationFromInt1850Test.java3 import com.fasterxml.jackson.annotation.JsonValue;
13 @JsonValue
19 @JsonValue
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsonFormatVisitors/
DJsonValueFormat.java3 import com.fasterxml.jackson.annotation.JsonValue;
104 @JsonValue // since 2.7
DJsonFormatTypes.java6 import com.fasterxml.jackson.annotation.JsonValue;
26 @JsonValue
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DMapKeySerialization2306Test.java6 import com.fasterxml.jackson.annotation.JsonValue;
12 @JsonValue
DMapKeySerializationTest.java12 import com.fasterxml.jackson.annotation.JsonValue;
64 @JsonValue
84 @JsonValue
107 @JsonValue
127 @JsonValue
/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/
DJavaParserJsonDeserializer.java73 Map<String, JsonValue> deferredJsonValues = new HashMap<>(); in deserializeObject()
140 protected boolean readNonMetaProperties(String name, JsonValue jsonValue, Node node) { in readNonMetaProperties()
145 protected boolean readRange(String name, JsonValue jsonValue, Node node) { in readRange()
162 protected boolean readTokenRange(String name, JsonValue jsonValue, Node node) { in readTokenRange()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsonschema/
DJsonSchema.java4 import com.fasterxml.jackson.annotation.JsonValue;
50 @JsonValue
/external/oss-fuzz/projects/jsoncpp/
Djson.proto32 required JsonValue value = 3;
35 message JsonValue { message
59 repeated JsonValue value = 1;
Djson_proto_converter.h38 void AppendValue(const json_proto::JsonValue&);
Djson_proto_converter.cc60 void JsonProtoConverter::AppendValue(const JsonValue& json_value) { in AppendValue()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/
DJsonValueExtTypeIdTest.java19 @JsonValue
47 @JsonValue
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestGenericCollectionDeser.java6 import com.fasterxml.jackson.annotation.JsonValue;
32 @JsonValue public Boolean value() { return b; } in value()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DMapKeyDeserializationTest.java7 import com.fasterxml.jackson.annotation.JsonValue;
36 @JsonValue
53 @JsonValue
DEnumDefaultReadTest.java33 @JsonValue
50 @JsonValue
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DDelegatingArrayCreatorsTest.java6 import com.fasterxml.jackson.annotation.JsonValue;
28 @JsonValue
DTestPolymorphicDelegating.java30 @JsonValue
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsonschema/
DNewSchemaTest.java10 import com.fasterxml.jackson.annotation.JsonValue;
35 @JsonValue
99 @JsonValue
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonValue.java47 public @interface JsonValue annotation
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DObjectNodeTest.java9 import com.fasterxml.jackson.annotation.JsonValue;
33 @JsonValue
62 @JsonValue

12