Example usage for org.apache.hadoop.registry.client.binding JsonSerDeser JsonSerDeser

List of usage examples for org.apache.hadoop.registry.client.binding JsonSerDeser JsonSerDeser

Introduction

In this page you can find the example usage for org.apache.hadoop.registry.client.binding JsonSerDeser JsonSerDeser.

Prototype

public JsonSerDeser(Class<T> classType) 

Source Link

Document

Create an instance bound to a specific type

Usage

From source file:org.apache.slider.api.types.ContainerInformation.java

License:Apache License

@Override
public String toString() {
    JsonSerDeser<ContainerInformation> serDeser = new JsonSerDeser<>(ContainerInformation.class);
    return serDeser.toString(this);
}