I have a JSON object that I would like to be formatted with indents when adding the Json object to an item in SharePoint, similar to the method that is available in PowerApps "JSONFormat.IndentFour".
It is difficult to read the JSON object in SharePoint when it is formatted as a single-line string.
Any ideas would be greatly appreciated.