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 | None |
inspired by Yuriy Iskra's json2-types hackage package
Documentation
mkNameJPair :: String -> JPair Source #
mkPriorityJPair :: String -> JPair Source #
rangeToJPair :: Range -> [JPair] Source #
rangedToJson :: (GetRange a, Pretty a) => String -> GlobalAnnos -> a -> [JPair] Source #
anToJson :: GlobalAnnos -> Annotation -> Json Source #