Example usage for org.openqa.selenium.json JsonInput propertySetting

List of usage examples for org.openqa.selenium.json JsonInput propertySetting

Introduction

In this page you can find the example usage for org.openqa.selenium.json JsonInput propertySetting.

Prototype

public PropertySetting propertySetting(PropertySetting setter) 

Source Link

Document

Change how property setting is done.

Usage

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);
}