Display pretty JSON data?


Wondering how you would approach this. I want users to be able to see a JSON string formatted properly with new lines for each parameter, etc.

Each user could have a completely different request/response, so I can’t pre-build and parse JSON, but it needs to be dynamic and format for anything that comes in - similar to jsonformatter.org.

Is there any good way to approach this?


I think it would have to be full javascript and not use Bubble’s API Connector. Free plugin Toolbox has a run javascript action and you would have to put your api call in there and then follow the steps here.

How the JSON will be received? Are you saving it into your database? Can you give more details?

This topic was automatically closed after 70 days. New replies are no longer allowed.