code: func decodeInterface(ctx context.Context, encoding string, b []byte, o interface{}) {
  	switch encoding {
  	case "json":
  		decodeJsonInterface(ctx, b, o)
  	default:
  		panic(fmt.Sprintf("Unknown encoding %s", encoding))
  	}
  }
docs: // Decode the struct from bytes given an encoding
  // For now only JSON is supported