---
title: dictionaryRepresentation()
framework: metrickit
role: symbol
role_heading: Instance Method
path: metrickit/mxmetricpayload/dictionaryrepresentation()
---

# dictionaryRepresentation()

Returns the results of the payload as a dictionary.

## Declaration

```swift
func dictionaryRepresentation() -> [AnyHashable : Any]
```

## Return Value

Return Value A Dictionary (Swift) or NSDictionary (Objective-C) object containing a key-value representation of the metrics in the payload.

## See Also

### Generating a report

- [jsonRepresentation()](metrickit/mxmetricpayload/jsonrepresentation().md)
