# Embedded data in JSON

**URL:** <https://community.integray.com/t/embedded-data-in-json/188>\
**Category:** Platform discussions\
**Tags:** json-parser\
**Created:** [October 19, 2023, 3:36am UTC](https://community.integray.com/t/embedded-data-in-json/188 "2023-10-19T03:36:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moerani](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Moerani](https://community.integray.com/u/Moerani)\
**Post date:** [October 19, 2023, 3:36am UTC](https://community.integray.com/t/embedded-data-in-json/188/1 "2023-10-19T03:36:59Z")

</div>

Hi,  
how to deal with this JSON data format for categories in JSON Parser?

 ![obrazek](https://europe1.discourse-cdn.com/flex017/uploads/integray/original/1X/7045c2a82f8d67ce61dc210ab9bac2fb396a571c.png)

---

<div class="post-metadata">

**Author:** ![tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@tomas](https://community.integray.com/u/tomas)\
**Post date:** [October 19, 2023, 11:31am UTC](https://community.integray.com/t/embedded-data-in-json/188/2 "2023-10-19T11:31:11Z")

</div>

Hi Moerani,

there are two solutions for your problem. Column “kategorie” in your output schema is string and therefore you can add only simple string into so in case you want to have it as string you have put in value the following: “categories[0]” without “inputData”.

In case you would like to return whole array you will need to change the data type for column “kategorie” in output schema to JSOn and then you will put into value “categories”.

I hope this helps.

---

<div class="post-metadata">

**Author:** ![Moerani](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Moerani](https://community.integray.com/u/Moerani)\
**Post date:** [October 19, 2023, 4:06pm UTC](https://community.integray.com/t/embedded-data-in-json/188/3 "2023-10-19T16:06:50Z")

</div>

yes, that’s exactly it, thank you very much, Tomas

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.integray.com/u/system)\
**Post date:** [October 26, 2023, 4:07pm UTC](https://community.integray.com/t/embedded-data-in-json/188/4 "2023-10-26T16:07:28Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
