MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / toType

Method toType

java/src/org/openqa/selenium/json/Json.java:180–182  ·  view source on GitHub ↗

Deserialize the specified JSON string into an object of the specified type. NOTE : This method uses the PropertySetting#BY_NAME BY_NAME strategy to assign values to properties in the deserialized object. @param source serialized source as JSON string @param typeOfT data type for d

(String source, Type typeOfT)

Source from the content-addressed store, hash-verified

178 * @throws JsonException if an I/O exception is encountered
179 */
180 public <T> T toType(String source, Type typeOfT) {
181 return toType(source, typeOfT, PropertySetting.BY_NAME);
182 }
183
184 /**
185 * Deserialize the specified JSON string into an object of the specified type.

Calls 5

nonNullMethod · 0.95
abbreviateMethod · 0.95
newInputMethod · 0.95
coerceMethod · 0.80
lengthMethod · 0.65