cardano-api:internal
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Governance.Metadata.Parsers

Synopsis

Documentation

textWithMaxLength :: String -> Int -> Value -> Parser Text Source #

Parser for Text that validates that the number of characters is under a given maximum. The String parameter is meant to be the name of the field in order to be able to give context in case of error.