TIP: How to parse JSON with native Bubble (no ext plugins)

Hi all, I just wanted to pop in and share a quick tip.

Understanding how parse to JSON in Bubble is something that comes up quite a bit, so I wanted to share a very simple, easy to follow method on how to do that – only using vanilla Bubble.

I’ve created a Landing Page + Editor Links so you can look around and see how it works.
Once you’ve opened the editor, you will be able to view debug mode to inspect the data sources.

:right_arrow: VIEW THE LANDING PAGE :desktop_computer:

:right_arrow: PEEK AT THE EDITOR :eyes:

This is interactive so take a look around!
I hope this helps someone who may be struggling with this concept in Bubble.

There are other ways to accomplish this sort of thing, this is just a very simple way to get your build going. So, give it a try and let me know.

Shoutout to Bubble AI Agent for the landing page and and data structure, I was able to put this demo app together really quickly and just focus on the JSON/API steps.

9 Likes

Why hasn’t Bubble just built this in already?

Feels like it could be a quick weekend project…hit “add Parse JSON button,” call it a day. :sweat_smile:

8 Likes

:parsed as JSON

6 Likes

:formatted as JSON

3 Likes

Should be :json formatted as type and we need a way to add custom type without using API connector. Same in plugin editor.

6 Likes

I found this, spam the upvote so I can spam the company slack :joy:: JSON parser from the expression editor

6 Likes

I wonder if the new API connector tab rebuild could have a dedicated JSON API types section :thinking:

1 Like

To separate the API objects created? Right now, I separate them by creating an API I call, My Data Structures, then every call in it is the API object.

The problem with using API objects is that the data doesn’t show up properly in the database. I don’t care about “code export” at all but a database needs to have all the information plainly available (e.g., for quick checks, external analytics, processing, etc.).

In the meantime you can link them these posts:

https://forum.bubble.io/t/can-t-parse-nested-json-from-openai-how-is-this-still-a-thing-in-2025

2 Likes

Yea exactly @boston85719 - this is purely to get the functionality from the expression editor right (amongst other things)?

They could have in the new API tab (wishlist i know :wink: ) :

  • Define JSON types section (as you do with ‘My Data Structures’)
  • A more native/streamlined approach to the original thread
3 Likes

Just got to peeking into the editor. My issue is the WU cost for calling our own app APIs. It’s not the cost of WU, but because technically I know that it can already be done client-side.

I don’t say it lightly when I say that this can easily be implemented as a native Bubble element. Cause I’ve been using a tiny plugin element, I built to parse JSON into a Bubble API datatype for close to a year.

5 Likes

Replace Toca Boca World MOD APK with a safe tutorial/resource page:

Thanks for sharing this! Parsing JSON without plugins is something a lot of new Bubble users struggle with, so having a simple demo is really helpful. I checked out the editor and the structure is easy to follow, especially in Debug Mode.

I’ve also been testing some no-plugin workflows recently and wrote a short guide for beginners here: https://tocabocamodapks.net/

Really appreciate the example app — this makes the concept much easier for new users.