Klasse CurrencyData
java.lang.Object
com.currencycalc.currencycalculatorjavafx.model.CurrencyData
Represents the root structure of the JSON response from the FreeCurrencyAPI.
This class encapsulates the exchange rate data within the "data" field of the JSON response.
It acts as a container for the Data object, which holds all individual currency rates.
Example JSON structure:
{
"data": {
"USD": 1.0,
"EUR": 0.85,
...
}
}
Used in conjunction with Gson for JSON serialization and deserialization.
- Version:
- 1.0.0
- Autor:
- Tim
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
data
The exchange rate data field containing the actual rates for various currencies.This field is mapped to the "data" field in the JSON response using the
SerializedNameannotation.
-
-
Konstruktordetails
-
CurrencyData
public CurrencyData()
-
-
Methodendetails