I’m using Bubble to read and write JSON data to an external API and am trying to figure out how to include dynamic fields without too many conditionals. For example, I have a list of user-profiles with varying fields.
In bubble I have fields [name, email, role, subjects, favorite-foods, repulsive], but I don’t want to have a super long chain of conditions because I’m adding new fields regularly.
Is there any way I can dynamically generate this JSON in the bubble client and send plain json text to api instead of bubble objects and build on the backend?
Thanks @cmarchan. I had checked it out briefly but figured I’d throw the question out there before invest time into learning how to use it. Will dig in deeper and if it’s helpful. Appreciate the response
I had found this thread when I was trying to solve my problem, but this didn’t quite work out. I figured out a different approach that I thought might be useful to share here: