JSON.stringify(obj)

Is there some way to convert a app object to a string?
So it then can be displayed in the app.

JSON.stringify does not seem to work/allowed.

I find the debug window unreliable(especially with objects) and slow to start, could i just show the object in-app would help with a lot of bugs. Yes, each string can be displayed separately and then just adding them together but with lots of values and sub objects that would take a lot of time.

Found that JSON.stringify was allowed with javascript in logic/flow panel. So I just made a custom component.

Just use this in the “formula” as a value binding type.

ENCODE_JSON(yourObjectHere)
1 Like

hola jonas

tengo el mismo problema
hey te resulto???