---
title: NavigationPath.CodableRepresentation
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/navigationpath/codablerepresentation
---

# NavigationPath.CodableRepresentation

A serializable representation of a navigation path.

## Declaration

```swift
struct CodableRepresentation
```

## Overview

Overview When a navigation path contains elements the conform to the Codable protocol, you can use the path’s CodableRepresentation to convert the path to an external representation and to convert an external representation back into a navigation path.

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)

## See Also

### Encoding a path

- [codable](swiftui/navigationpath/codable.md)
