---
title: "decode(_:from:format:configuration:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/propertylistdecoder/decode(_:from:format:configuration:)-1frbk"
---

# decode(_:from:format:configuration:)

## Declaration

```swift
func decode<T>(_ type: T.Type, from data: Data, format: inout PropertyListDecoder.PropertyListFormat, configuration: T.DecodingConfiguration) throws -> T where T : DecodableWithConfiguration
```
