Money

Money or null

The money object is used to represent the currency amount. In some cases, if it cannot parse the currency from the symbol, the currency will be null while the symbol will have a value.

Example:
{"amount":"1.00","currency":"USD","symbol":"$"}
amount
string or null
required

The amount. It can be negative.

Example:
1.00
currency
string or null
required

The currency.

Example:
USD
symbol
string or null
required

The symbol of currency.

Example:
$
Example
preparing...