Cardano.Api.Governance.Metadata.Parsers
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.
Text
String