refined-0.4.4: Refinement types with static and runtime checking
Refined.Orphan.Aeson
Contents
Description
This module exposes orphan instances for the Refined type. This is unavoidable given the current module structure.
Refined
Methods
toJSON :: Refined p a -> Value #
toEncoding :: Refined p a -> Encoding #
toJSONList :: [Refined p a] -> Value #
toEncodingList :: [Refined p a] -> Encoding #
parseJSON :: Value -> Parser (Refined p a) #
parseJSONList :: Value -> Parser [Refined p a] #