egahim
March 15, 2023, 10:48am
1
Hello,
I need help with an app that returns a JSON and I would like to format it and make it readable.
I searched the forum but the solutions didn't work in my case.
I'm attaching a screenshot.
This is the JSON that I retrieve:
[{"Info1":"text1","Info2":"text2","Result":"text3"}]
And this is what I would like:
[
{
"Info1":"text1",
"Info2":"text2",
"Result":"text3"
}
]
Thank you.
ABG
March 15, 2023, 11:03am
2
Run the JSON text through a block that replaces ',' with ',\n'
egahim
March 15, 2023, 11:04am
4
Thank you, could you post an image of the blocks for what you suggest?
This extension has the "Pretty" block
ABG
March 15, 2023, 11:12am
8
Also search this board for YAML.
system
Closed
March 22, 2023, 9:58pm
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.