Per the link above, if using a custom type in args which fails to parse, resulting in a verbose error message, there is a false assumption that the json params is not a structured object.
The subsequent attempt to parse out into a map interface will also fail because the data is actually structured, but the content is malformed.
reference: https://github.com/gorilla/rpc/blob/master/v2/json2/server.go#L165
Per the link above, if using a custom type in args which fails to parse, resulting in a verbose error message, there is a false assumption that the json params is not a structured object.
The subsequent attempt to parse out into a map interface will also fail because the data is actually structured, but the content is malformed.
This results in a misleading error message