Home
last modified time | relevance | path

Searched refs:jsonValue (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs248 public void StringToInt32_Valid(string jsonValue, int expectedParsedValue) in StringToInt32_Valid() argument
250 string json = "{ \"singleInt32\": \"" + jsonValue + "\"}"; in StringToInt32_Valid()
267 public void StringToInt32_Invalid(string jsonValue) in StringToInt32_Invalid() argument
269 string json = "{ \"singleInt32\": \"" + jsonValue + "\"}"; in StringToInt32_Invalid()
277 public void StringToUInt32_Valid(string jsonValue, uint expectedParsedValue) in StringToUInt32_Valid() argument
279 string json = "{ \"singleUint32\": \"" + jsonValue + "\"}"; in StringToUInt32_Valid()
288 public void StringToUInt32_Invalid(string jsonValue) in StringToUInt32_Invalid() argument
290 string json = "{ \"singleUint32\": \"" + jsonValue + "\"}"; in StringToUInt32_Invalid()
300 public void StringToInt64_Valid(string jsonValue, long expectedParsedValue) in StringToInt64_Valid() argument
302 string json = "{ \"singleInt64\": \"" + jsonValue + "\"}"; in StringToInt64_Valid()
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DJsonParserTest.cs248 public void StringToInt32_Valid(string jsonValue, int expectedParsedValue) in StringToInt32_Valid() argument
250 string json = "{ \"singleInt32\": \"" + jsonValue + "\"}"; in StringToInt32_Valid()
267 public void StringToInt32_Invalid(string jsonValue) in StringToInt32_Invalid() argument
269 string json = "{ \"singleInt32\": \"" + jsonValue + "\"}"; in StringToInt32_Invalid()
277 public void StringToUInt32_Valid(string jsonValue, uint expectedParsedValue) in StringToUInt32_Valid() argument
279 string json = "{ \"singleUint32\": \"" + jsonValue + "\"}"; in StringToUInt32_Valid()
288 public void StringToUInt32_Invalid(string jsonValue) in StringToUInt32_Invalid() argument
290 string json = "{ \"singleUint32\": \"" + jsonValue + "\"}"; in StringToUInt32_Invalid()
300 public void StringToInt64_Valid(string jsonValue, long expectedParsedValue) in StringToInt64_Valid() argument
302 string json = "{ \"singleInt64\": \"" + jsonValue + "\"}"; in StringToInt64_Valid()
[all …]
/external/javaparser/javaparser-core-serialization/src/main/java/com/github/javaparser/serialization/
DJavaParserJsonDeserializer.java140 protected boolean readNonMetaProperties(String name, JsonValue jsonValue, Node node) { in readNonMetaProperties() argument
141 return readRange(name, jsonValue, node) in readNonMetaProperties()
142 || readTokenRange(name, jsonValue, node); in readNonMetaProperties()
145 protected boolean readRange(String name, JsonValue jsonValue, Node node) { in readRange() argument
147 JsonObject jsonObject = (JsonObject)jsonValue; in readRange()
162 protected boolean readTokenRange(String name, JsonValue jsonValue, Node node) { in readTokenRange() argument
164 JsonObject jsonObject = (JsonObject)jsonValue; in readTokenRange()
/external/dokka/integration/src/main/kotlin/org/jetbrains/dokka/
Dconfiguration.kt11 override fun fromJsonValue(jsonValue: Any?): URL? { in fromJsonValue()
12 if (jsonValue !is String?) in fromJsonValue()
13 throw JKidException("Expected string representation of URL, got: $jsonValue") in fromJsonValue()
14 return jsonValue?.let { URL(jsonValue) } in fromJsonValue()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DBaseMapTest.java106 static ObjectWrapper jsonValue(final Object object) { in jsonValue() method in BaseMapTest.ObjectWrapper