Sugar.Json
Contents
data SugarCube Source #
Constructors
Defined in Sugar.Json
Methods
(==) :: SugarCube -> SugarCube -> Bool #
(/=) :: SugarCube -> SugarCube -> Bool #
showsPrec :: Int -> SugarCube -> ShowS #
show :: SugarCube -> String #
showList :: [SugarCube] -> ShowS #
parseJSON :: Value -> Parser SugarCube #
parseJSONList :: Value -> Parser [SugarCube] #
toSugar :: SugarCube -> Sugar #
sugarCubeMay :: Sugar -> Maybe SugarCube Source #
writeJsonAsSugarBinary :: FilePath -> FilePath -> IO () Source #
writeJsonAsSugar :: FilePath -> FilePath -> IO () Source #
parseJSON :: Value -> Parser Sugar #
parseJSONList :: Value -> Parser [Sugar] #