---
title: "buildExpression(_:)"
framework: coretransferable
role: symbol
role_heading: Type Method
path: "coretransferable/transferrepresentationbuilder/buildexpression(_:)-6qtdp"
---

# buildExpression(_:)

Builds an encodable and decodable transfer representation from an expression.

## Declaration

```swift
static func buildExpression<Encoder, Decoder>(_ content: CodableRepresentation<Item, Encoder, Decoder>) -> CodableRepresentation<Item, Encoder, Decoder> where Item : Decodable, Item : Encodable, Encoder : TopLevelEncoder, Decoder : TopLevelDecoder, Encoder.Output == Data, Decoder.Input == Data
```

## See Also

### Building a transfer representation

- [buildBlock(_:)](coretransferable/transferrepresentationbuilder/buildblock(_:).md)
- [buildExpression(_:)](coretransferable/transferrepresentationbuilder/buildexpression(_:)-3z8sl.md)
