json-autotype-0.2.5.0: Automatic type declaration for JSON input data

Safe HaskellNone
LanguageHaskell2010

Data.Aeson.AutoType.Format

Synopsis

Documentation

splitTypeByLabel :: Text -> Type -> Map Text Type Source

Splits initial type with a given label, into a mapping of object type names and object type structures.

unificationCandidates :: HashMap t Type -> [[t]] Source

For a given splitted types, it returns candidates for extra unifications.

unifyCandidates :: [[Text]] -> Map Text Type -> Map Text Type Source

Unifies candidates on a give input list.