List of usage examples for org.openqa.selenium.json JsonInput propertySetting
public PropertySetting propertySetting(PropertySetting setter)
From source file:org.openqa.grid.common.GridConfiguredJson.java
License:Apache License
public static <T> T toType(JsonInput jsonInput, Type typeOfT) { return jsonInput.propertySetting(PropertySetting.BY_FIELD) .addCoercers(new CapabilityMatcherCoercer(), new PrioritizerCoercer()).read(typeOfT); }