# Create JSON with multiple JSON inside

**URL:** <https://community.make.com/t/create-json-with-multiple-json-inside/71373>\
**Category:** Questions\
**Tags:** arrays, airtable, mapping, json\
**Created:** [February 25, 2025, 3:05am UTC](https://community.make.com/t/create-json-with-multiple-json-inside/71373 "2025-02-25T03:05:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex26](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Alex26](https://community.make.com/u/Alex26)\
**Post date:** [February 25, 2025, 3:05am UTC](https://community.make.com/t/create-json-with-multiple-json-inside/71373/1 "2025-02-25T03:05:45Z")

</div>

Hi! I need some help with creating a clean JSON output containing of multiple sub-JSONs.

Here’s my setup:

 ![Airtable JSON Overview](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/c/ac5a1da3eab170832823b5b66c89aee8f0603e70.jpeg)

I’m basically pulling in data from different Airtable tables and aggregate it to a JSON string. The setup is the same for all modules:

 ![Airtable Aggregate to JSON 1](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/a/8a9578e2063ae7efea53f7a9d48ed4ab3ac53bac.jpeg)

The output:

 ![Airtable Aggregate to JSON 2](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/6/e669a81ee53c4d6cf47e54668db5ad9853cae02b.jpeg)

The actual output:

 ![Airtable Aggregate to JSON 3](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/5/f5ba240b7a4beeb98a29aea3030f8b33f10ce7d3.jpeg)

For some reason there are already escape characters added in the bundle output.

Now the main problem:  
I’m trying to combine all of my JSONs into a big one, like that:

 ![Create JSON Setup](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/3/33fe64faef1e24feb784023a22112a988e9368fb.jpeg)

**The Problem:**

 ![Create JSON Output](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/3/2343a9f3373352e7eab5f34afa0ec22a440afea3.jpeg)

The JSON strings that I’m trying to import are being double/triple escaped:

 ![Create JSON Output text](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/4/f424109e5ed2cd4edc9b1405b1974a5af42907a8.jpeg)

I’ve already tried escaping the strings, adding them as arrays, using “Transform to JSON” and a lot more. For some reason this feels like it’s an obvious mistake, but I can’t seem to figure it out.

Does anyone have an idea? I’d really appreciate it!  
Thanks!

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 25, 2025, 2:45pm UTC](https://community.make.com/t/create-json-with-multiple-json-inside/71373/2 "2025-02-25T14:45:20Z")

</div>

Welcome to the Make community!

You cannot combine both “Aggregate to JSON” and “Create JSON” modules together like that.

Try using “Aggregate to JSON” followed by “Compose a string” module, manually entering the rest of the JSON in the “Compose a string” module, but mapping the output of the aggregator into it.

 ![Screenshot_2025-02-25_220259](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/6/9626291389c4a3130dcae7c852b3a31c042c5d70.png)

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![Alex26](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Alex26](https://community.make.com/u/Alex26)\
**Post date:** [March 2, 2025, 4:16pm UTC](https://community.make.com/t/create-json-with-multiple-json-inside/71373/3 "2025-03-02T16:16:43Z")

</div>

I just realized that I haven’t sent the reply. Thank you so much!

The main issue was actually that make for some reason display the JSON differently when observing the output bundles and when observing the raw output.

For some reason it escapes all JSON strings in the “Download output bundle” content, which confused me. When just mapping the JSON string in another module, the JSON content get’s processed normally without escaped strings.

Thanks for your quick reply, I really appreciate it!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [March 16, 2025, 4:31pm UTC](https://community.make.com/t/create-json-with-multiple-json-inside/71373/4 "2025-03-16T16:31:44Z")

</div>


