plutus-ledger-1.2.0.0: Wallet API
Safe HaskellNone
LanguageHaskell2010

Data.Time.Units.Extra

Orphan instances

FromJSON Millisecond Source # 
Instance details

Methods

parseJSON :: Value -> Parser Millisecond

parseJSONList :: Value -> Parser [Millisecond]

FromJSON Second Source # 
Instance details

Methods

parseJSON :: Value -> Parser Second

parseJSONList :: Value -> Parser [Second]

ToJSON Millisecond Source # 
Instance details

Methods

toJSON :: Millisecond -> Value

toEncoding :: Millisecond -> Encoding

toJSONList :: [Millisecond] -> Value

toEncodingList :: [Millisecond] -> Encoding

ToJSON Second Source # 
Instance details

Methods

toJSON :: Second -> Value

toEncoding :: Second -> Encoding

toJSONList :: [Second] -> Value

toEncodingList :: [Second] -> Encoding