katydid-0.4.0.2: A haskell implementation of Katydid
Data.Katydid.Parser.Json
Contents
Description
This module contains the Json Parser.
decodeJSON :: String -> Either String [JsonTree] Source #
decodeJSON returns a JsonTree, given an input string.
type JsonTree = Tree Label Source #
JsonTree is a tree that can be validated by Relapse.
Methods
getLabel :: JsonTree -> Label Source #
getChildren :: JsonTree -> [JsonTree] Source #