Hi everyone, i'm retrieving a text data and i need to show it in like a json pretty format.

ex: i have this

[{"Example1":"test1","Example2":"test2","Example3":"test3"}] 

that is a text data type

and i need that looks like this

[ 
   { 
      "Example1":"test1",
      "Example2":"test2",
      "Example3":"test3"
   }
]

i don't know if there is a way to do it, but i was thinking in search for the "," charcather and add a newline(), but i don't really know how to do it. Thanks in advance.

Btw is in outsystems web 11.

Hi Nicolas


Check out this forge component. I think it will meet your needs without any major integration hassles.


Hope this helps!

   CLSJ

Hello Nicolás,

The component that Carlos shared is client sided. If you're looking for server sided one I created this one. It's helpful, for example, if you want to download the JSON formatted to a file.

Cheers!