---
title: "BSON array to dictionary value reader"
slug: "bson-array-to-dictionary-value-reader"
abstract: "Introduction to the BSON array to dictionary value reader in Sitecore Data Exchange Framework."
---
# BSON array to dictionary value reader

You use this value reader to create a new dictionary and read members of an array into the dictionary. Properties on each member of the array are used to represent the keys and values for the dictionary.

| Expected source object type | `MongoDB.Bson.BsonArray` |
| --- | --- |
| Template location | *Data Exchange/Providers/MongoDB/Data Access/Value Readers/BSON Array To Dictionary Value Reader* |

<details>
<summary><h2>Template fields</h2></summary>

| Field name | Description |
| --- | --- |
| Key Field Name | Name of the property on the member of the array to use as the key value when an entry is added to the dictionary. |
| Value Field Name | Name of the property on the member of the array to use as the value when an entry is added to the dictionary. |

</details>