Class EnumFromStringHelper<T extends Enum<T>>

java.lang.Object
org.knowm.xchange.coinbase.dto.serialization.EnumFromStringHelper<T>

public class EnumFromStringHelper<T extends Enum<T>>
extends Object
Author:
jamespedwards42
  • Constructor Details

    • EnumFromStringHelper

      public EnumFromStringHelper​(Class<T> enumClass)
  • Method Details

    • addJsonStringMapping

      public EnumFromStringHelper<T> addJsonStringMapping​(String jsonString, T enumVal)
    • fromJsonString

      public T fromJsonString​(String jsonString)