Package google.registry.model.adapters
Class CurrencyJsonAdapter
java.lang.Object
com.google.gson.TypeAdapter<org.joda.money.CurrencyUnit>
google.registry.util.StringBaseTypeAdapter<org.joda.money.CurrencyUnit>
google.registry.model.adapters.CurrencyJsonAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.joda.money.CurrencyUnit
fromString
(String stringValue) Methods inherited from class google.registry.util.StringBaseTypeAdapter
read, write
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
CurrencyJsonAdapter
public CurrencyJsonAdapter()
-
-
Method Details
-
fromString
- Specified by:
fromString
in classStringBaseTypeAdapter<org.joda.money.CurrencyUnit>
- Throws:
IOException
-