Hydra.Sources.Tier4.Ext.Json.Decoding
jsonDecodingModule :: Module Source #
jsonDecodingDefinition :: String -> TTerm a -> TElement a Source #
valueT :: Type Source #
decodeStringDef :: TElement (Value -> Flow s String) Source #
decodeNumberDef :: TElement (Value -> Flow s Double) Source #
decodeBooleanDef :: TElement (Value -> Flow s Bool) Source #
decodeArrayDef :: TElement ((Value -> Flow s a) -> Value -> Flow s [a]) Source #
decodeObjectDef :: TElement (Value -> Flow s (Map String Value)) Source #
decodeFieldDef :: TElement ((Value -> Flow s a) -> String -> Map String Value -> Flow s a) Source #
decodeOptionalFieldDef :: TElement ((Value -> Flow s a) -> String -> Map String Value -> Flow s (Maybe a)) Source #