You could just use:

    var value string
    err := json.Unmarshal(data, &value)
    // handle error
    parsed, err := ParseHex(value)

It would reduce the amount of string juggling you need to do yourself.