;lib: note issue with Journal's JSON

This commit is contained in:
Simon Michael 2020-06-06 12:38:06 -07:00
parent b86ced5ee9
commit b50c3a694c

View File

@ -203,6 +203,24 @@ instance FromJSON (DecimalRaw Integer)
--
--And of course you can avoid `StandAloneDeriving` entirely if youre willing to wrap `Decimal` in your own `newtype`.
-- XXX these will allow reading a Journal, but currently the
-- jdeclaredaccounttypes Map gets serialised as a JSON list, which
-- can't be read back.
--
-- instance FromJSON AccountAlias
-- instance FromJSONKey AccountType where fromJSONKey = genericFromJSONKey defaultJSONKeyOptions
-- instance FromJSON AccountType
-- instance FromJSON ClockTime
-- instance FromJSON Commodity
-- instance FromJSON DateSpan
-- instance FromJSON Interval
-- instance FromJSON PeriodicTransaction
-- instance FromJSON PriceDirective
-- instance FromJSON TimeclockCode
-- instance FromJSON TimeclockEntry
-- instance FromJSON TransactionModifier
-- instance FromJSON Journal
-- Utilities