Faktory.Job.Custom
Description
Wrapper for the schema-less Value used for custom in Job payloads
Value
custom
This type's Semigroup will merge two Objects. It is right-biased, as we are generally throughout this library, so called last-wins semantics.
Semigroup
data Custom Source #
Defined in Faktory.Job.Custom
Methods
(==) :: Custom -> Custom -> Bool #
(/=) :: Custom -> Custom -> Bool #
showsPrec :: Int -> Custom -> ShowS #
show :: Custom -> String #
showList :: [Custom] -> ShowS #
(<>) :: Custom -> Custom -> Custom #
sconcat :: NonEmpty Custom -> Custom #
stimes :: Integral b => b -> Custom -> Custom #
toJSON :: Custom -> Value #
toEncoding :: Custom -> Encoding #
toJSONList :: [Custom] -> Value #
toEncodingList :: [Custom] -> Encoding #
parseJSON :: Value -> Parser Custom #
parseJSONList :: Value -> Parser [Custom] #
toCustom :: ToJSON a => a -> Custom Source #
fromCustom :: FromJSON a => Custom -> Either String a Source #
Read a Custom value to a type using FromJSON
Custom
FromJSON