---
title: "Discussion on \"JSON Beautify for BrightScript\" | Hashnode"
description: "Discussion on \"JSON Beautify for BrightScript\". ' JSON Beautifier for BrightScript\n' By BrightScripters \nfunction json_beautify(in$) as string\n    indentLevel = 0\n    out$ = \"\"\n    newLine$ = chr(13) + chr(10)\n\n    for i = 0 to in$.len() - 1\n        char$ = in$.mid(i,1)\n\n        if char$ = \"{\" or ..."
url: "https://hashnode.com/posts/json-beautify-for-brightscript/6778cbc82d2a2577e493be71"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JSON Beautify for BrightScript](https://blog.brightscripters.com/json-beautify-for-brightscript?utm_source=hashnode&utm_medium=feed)

' JSON Beautifier for BrightScript ' By BrightScripters function json\_beautify(in$) as string indentLevel = 0 out$ = "" newLine$ = chr(13) + chr(10) for i = 0 to in$.len() - 1 char$ = in$.mid(i,1) if char$ = "{" or ...

Jan 4, 2025 · 1 min read · blog.brightscripters.com  
Read the article

-   [#brightscript](https://hashnode.com/tag/brightscript)
-   [#json](https://hashnode.com/tag/json)
-   [#beautify](https://hashnode.com/tag/beautify)
-   [#formatting](https://hashnode.com/tag/formatting)

## Written by

[Bright Scripters](https://hashnode.com/@BrightScripters)

@BrightScripters · USA

  
[View profile](https://hashnode.com/@BrightScripters)

Taking BrightSign programming to the next level

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
