Copyright | (c) Christian Maeder, DFKI GmbH 2014 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
inspired by Yuriy Iskra's json2-types hackage package
Documentation
mkNameJPair :: String -> JPair
toJson :: Pretty a => GlobalAnnos -> a -> Json
rangeToJPair :: Range -> [JPair]
rangedToJson :: (GetRange a, Pretty a) => String -> GlobalAnnos -> a -> [JPair]
anToJson :: GlobalAnnos -> Annotation -> Json
pJson :: CharParser st Json