json-to-type-4.0.0: Automatic type declaration for JSON input data
Safe HaskellSafe-Inferred
LanguageHaskell2010

JsonToType.Pretty

Description

Instances of Text.PrettyPrint.Out class to visualize Aeson Value data structure.

Orphan instances

Out Value Source # 
Instance details

Methods

docPrec :: Int -> Value -> Doc #

doc :: Value -> Doc #

docList :: [Value] -> Doc #

Out Dict Source # 
Instance details

Methods

docPrec :: Int -> Dict -> Doc #

doc :: Dict -> Doc #

docList :: [Dict] -> Doc #

Out Type Source # 
Instance details

Methods

docPrec :: Int -> Type -> Doc #

doc :: Type -> Doc #

docList :: [Type] -> Doc #

Out Scientific Source # 
Instance details

Out Text Source # 
Instance details

Methods

docPrec :: Int -> Text -> Doc #

doc :: Text -> Doc #

docList :: [Text] -> Doc #

Out v => Out (KeyMap v) Source # 
Instance details

Methods

docPrec :: Int -> KeyMap v -> Doc #

doc :: KeyMap v -> Doc #

docList :: [KeyMap v] -> Doc #

Out a => Out (Set a) Source # 
Instance details

Methods

docPrec :: Int -> Set a -> Doc #

doc :: Set a -> Doc #

docList :: [Set a] -> Doc #

Out a => Out (Vector a) Source # 
Instance details

Methods

docPrec :: Int -> Vector a -> Doc #

doc :: Vector a -> Doc #

docList :: [Vector a] -> Doc #

(Out a, Out b) => Out (HashMap a b) Source # 
Instance details

Methods

docPrec :: Int -> HashMap a b -> Doc #

doc :: HashMap a b -> Doc #

docList :: [HashMap a b] -> Doc #