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

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

## Declaration

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