JSON is actually a quite useful way to save on WU.
I’ll give you an extreme example of how I’ve recently used it.
We have a client app that does large calculations, we built the calc engine externally due to it needing to run thousands of calculations. Think month by month revenue projection excel sheet but hundreds of things to calculate not just revenue. Since it needs to reference a prior month to calculate the next month you can imagine there would be an insane WU cost with saving all those objects in bubble.
What we did was have the custom built calc engine return arrays inside the JSON of the values, instead of storing objects in bubble now we just store the whole JSON output.
From there we use regex to extract the values as needed from the JSON to display on page or extract data to process workflows on bubbles side.
We went from bubble being completely unviable on a product the client built already to costing next to no WU to run.
6 Likes