rest-stringmap- Maps with stringy keys that can be transcoded to JSON and XML.

Safe HaskellNone



data StringMap a b Source


(Eq a, Eq b) => Eq (StringMap a b) 
(Show a, Show b) => Show (StringMap a b) 
(ToString a, ToJSON b) => ToJSON (StringMap a b) 
(Ord a, IsString a, FromJSON b) => FromJSON (StringMap a b) 
XmlPickler b => XmlPickler (StringMap String b) 
(Ord a, IsString a, ToString a, XmlPickler b) => XmlPickler (StringMap a b) 
JSONSchema b => JSONSchema (StringMap a b) 
Typeable (* -> * -> *) StringMap 

fromMap :: Map a b -> StringMap a b Source

toMap :: StringMap a b -> Map a b Source

toList :: StringMap a b -> [(a, b)] Source

fromList :: Ord a => [(a, b)] -> StringMap a b Source