Hydra.Ext.Json.Eliminate
expectArray :: Value -> Flow s [Value] Source #
expectNumber :: Value -> Flow s Double Source #
expectObject :: Value -> Flow s (Map String Value) Source #
expectString :: Value -> Flow s String Source #
opt :: String -> Map String Value -> Maybe Value Source #
optArray :: String -> Map String Value -> Flow s (Maybe [Value]) Source #
optString :: String -> Map String Value -> Flow s (Maybe String) Source #
require :: String -> Map String Value -> Flow s Value Source #
requireArray :: String -> Map String Value -> Flow s [Value] Source #
requireNumber :: String -> Map String Value -> Flow s Double Source #
requireString :: String -> Map String Value -> Flow s String Source #