# JSON merge from input and output json

**URL:** <https://jsonforms.discourse.group/t/json-merge-from-input-and-output-json/1604>\
**Category:** General\
**Created:** [July 13, 2023, 3:21pm UTC](https://jsonforms.discourse.group/t/json-merge-from-input-and-output-json/1604 "2023-07-13T15:21:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yellowtulip10](https://avatars.discourse-cdn.com/v4/letter/y/e56c9b/32.png) [@yellowtulip10](https://jsonforms.discourse.group/u/yellowtulip10)\
**Post date:** [July 13, 2023, 3:21pm UTC](https://jsonforms.discourse.group/t/json-merge-from-input-and-output-json/1604/1 "2023-07-13T15:21:28Z")

</div>

Hi,  
Need help! I have a response in json format. That json needs to parse and detail from their needs to aggregated and output will be like merge JSON.  
Example: Here text1 is available twice in the input JSON but it needs to merged to get both values.  
Input  
{  
“sample1”: {  
“text1”: “abc”  
“value1”: “234”  
}  
“sample2”: {  
“text1”: “abc”  
“value1”:“234”  
}  
}

Output:  
{ “result”:  
[  
{  
“text1”: “abc”  
“value1”:“234”  
},  
{  
“text1”: “abc”  
“value1”:“234”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [July 13, 2023, 10:24pm UTC](https://jsonforms.discourse.group/t/json-merge-from-input-and-output-json/1604/2 "2023-07-13T22:24:07Z")

</div>

Hi @yellowtulip10,

This is the community forum of [JSON Forms](https://jsonforms.io/), a rendering engine for JSON Schema based forms. Your problem seems to be unrelated. I would like to suggest to contact the person you got your task from. Good luck!
