aeson-0.6.0.2: Fast JSON parsing and encoding

Portabilityportable
Stabilityexperimental
MaintainerBryan O'Sullivan <bos@serpentine.com>
Safe HaskellSafe-Infered

Data.Aeson.Functions

Contents

Description

 

Synopsis

Documentation

mapHashKeyVal :: (Eq k2, Hashable k2) => (k1 -> k2) -> (v1 -> v2) -> Map k1 v1 -> HashMap k2 v2Source

Transform a Map into a HashMap while transforming the keys.

hashMapKey :: Ord k2 => (k1 -> k2) -> HashMap k1 v -> Map k2 vSource

Transform a Map into a HashMap while transforming the keys.

mapKeyVal :: (Eq k2, Hashable k2) => (k1 -> k2) -> (v1 -> v2) -> HashMap k1 v1 -> HashMap k2 v2Source

Transform the keys and values of a HashMap.

mapKey :: (Eq k2, Hashable k2) => (k1 -> k2) -> HashMap k1 v -> HashMap k2 vSource

Transform the keys of a HashMap.

String conversions