I know that I should use integers for "money values" when programming. I know it's because of the 0.1 + 0.2 != 0.3 problem. But I don't know the problem well enough to know if that's a problem in data formats (like JSON) as well.
In my concrete case: should I define
type Money {
amount: Float!
# ...
}
or
type Money {
amount: Int!
# ...
}
in GraphQL?