JsonMatchesErrorMessageProvider
class JsonMatchesErrorMessageProvider (View source)
Provides human readable messages for each JSON error.
Methods
static string
determineJsonError(string $error, string $prefix = '')
Translates JSON error to a human readable string.
static string
translateTypeToPrefix(string $type)
Translates a given type to a human readable message prefix.