Same as
key but works with omitted attributes in payloads and
produces parsed values in the context of
Maybe. Note that this
combinator behaves differently to a combination of
maybe and
key, which produce error if the attribute is missing from the
json object. >>> decode (maybeKey "data" int) "{}" Just
Nothing