Parse a string into JSON

Hey guys , right now i am storing a the response of an API in a text field in bubble , as Bubble don’t have type : json to store json object . So now I want to parse this json string into actual json object but facing difficulties.
What i thought of using backend workflow to run javascript (by toolbox plugin) , but the ‘run javascript’ action isn’t available in backend workflows .
is there any method/workaround available so that i can parse a string into json and use it?

Any help is appreciated.

This is false
When you create an API Connection, Bubble will also create “this” type that can be used/stored in a field as JSON object like if this was a related DB.

But i am not using API’s refrences , as I need to call an API only once and store its json response in a text field , and this text field needs to be parsed for json everytime I need to use the object.

What do yo mean by API reference?
You let API Connetor parse it and store the whole payload into a field of the API connector type.

Hi @bubble.user1, I think you should use return data api.
return data api

Thanks Man! It solved my problem of what i wanted at the end.

1 Like

Will check.