If you don’t use explicit tags on struct fields, then json assumes that a field name equals your struct field name. In your example, if you remove tags from the struct, it expects date
and currency
as fields in json file.
2 Likes