# List of value to list of obj

**URL:** <https://forum.alumio.com/t/list-of-value-to-list-of-obj/2351>\
**Category:** General\
**Created:** [September 4, 2025, 8:31am UTC](https://forum.alumio.com/t/list-of-value-to-list-of-obj/2351 "2025-09-04T08:31:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vosy](https://forum.alumio.com/letter_avatar_proxy/v4/letter/v/ecd19e/32.png) [@vosy](https://forum.alumio.com/u/vosy)\
**Post date:** [September 4, 2025, 8:31am UTC](https://forum.alumio.com/t/list-of-value-to-list-of-obj/2351/1 "2025-09-04T08:31:05Z")

</div>

how to convert list of values to list of dictionaries.

source:

```auto
{
  "key": "clo_nomen",
  "values": [
    "7616999099",
    "34567",
    "9876543"
  ]
}

```

and needed result should be

```auto
{
  "key": "clo_nomen",
  "values": [
    "7616999099",
    "34567",
    "9876543"
  ],
  "dic_values": [
    {
      "value":"7616999099"
    },
    {
      "value":"34567"
    },
    {
      "value":"9876543"
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![vosy](https://forum.alumio.com/letter_avatar_proxy/v4/letter/v/ecd19e/32.png) [@vosy](https://forum.alumio.com/u/vosy)\
**Post date:** [September 4, 2025, 8:44am UTC](https://forum.alumio.com/t/list-of-value-to-list-of-obj/2351/2 "2025-09-04T08:44:30Z")

</div>

I got it.

**Data transformer → Copy using a pattern**.

1. **Pattern:** `values.*`
2. **Replacement:** `dic_values.$1.value`

---

<div class="post-metadata">

**Author:** ![Gugi](https://forum.alumio.com/user_avatar/forum.alumio.com/gugi/32/236_2.png) [@Gugi](https://forum.alumio.com/u/Gugi)\
**Post date:** [September 4, 2025, 12:56pm UTC](https://forum.alumio.com/t/list-of-value-to-list-of-obj/2351/3 "2025-09-04T12:56:46Z")

</div>

Hi @vosy

Glad to hear that! Yes, the “Copy using a pattern” works the best for this case.
