bos/aeson — pull request #38 by zhensydow (2011-11-16 13:16:34+00:00)
Title: Added new accessor with default value

Hi, I just added a new accessor (.:/) that allow to assign a default value in case the key is not present in the JSON.

Example:

```haskell
data Coord { x :: Double, y :: Double }

instance FromJSON Coord where
parseJSON (Object v) = Coord <$>
v .:/ ("x", 0.0) <*>
v .:/ ("y", 0.0)

-- A non-Object value is of the wrong type, so use mzero to fail.
parseJSON _ = mzero

```

I added the code need to use, and documentation, but I don't know if the operator name is well chosen.

Thanks, Luis