I only know how I would code, not how I would no-code.
The JSON processor appears to have no handling of the escaped linefeeds. Something needs to be done to turn them into printable 0x0A bytes.
Let’s ask an AI to research…
To handle transforming escaped linefeeds (like \n) into actual linefeed characters in the MIT App Inventor platform, you can use the built-in string handling blocks available in the App Inventor’s interface. Although there isn’t a direct pre-made block to specifically replace escaped linefeeds with actual linefeeds, you can achieve this through the use of the string manipulation blocks.
Here’s a conceptual solution using MIT App Inventor:
Use the Text Blocks: Start with the join text block or similar to construct your initial string if it’s not predefined.
Replace Text: Utilize the replace all text block to substitute the string \\n (escaped linefeed in the JSON string) with \n (actual linefeed). This is necessary because in a JSON string, the newline character is usually escaped.
Output the Result: Use a label or any other display component to show the transformed text.
By following these steps, you essentially create a flow in the blocks editor where the string from your JSON is processed and any escaped linefeed is converted to a character that will correctly move the cursor to the next line when displayed on the screen.
For more details on using text blocks and handling strings in App Inventor, you can refer to their official community and help resources, which provide guides and examples on manipulating strings and much more.