Example usage for org.openqa.selenium.json PropertySetting BY_FIELD

List of usage examples for org.openqa.selenium.json PropertySetting BY_FIELD

Introduction

In this page you can find the example usage for org.openqa.selenium.json PropertySetting BY_FIELD.

Prototype

PropertySetting BY_FIELD

To view the source code for org.openqa.selenium.json PropertySetting BY_FIELD.

Click Source Link

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