Multi-line text causing Json parsing error« Back to Questions List
Question about the text output. It outputs the multi-line text which is great for us, but causing Json parsing error. In another word, the generated Json file is invalid due to the new line character. { "type":"text", "font":"Anton", "justification":"center", "color":"0xFFC706", "size":50, "name":"page1text2", "x":686, "y":413, "width":114, "height":171 , "text":"Sword active in a pack!" , "effects":{ "dropShadow":{ "distance":9, "angle":120, "color":"0x181818", "alpha":75, "blurX":8, "blurY":8 }, "frameFX":{ "lineSize":3, "color":"0x000000", "alpha":100 } } }, |
This question has been resolved, view the correct answer now!
✓ Correct Answer | |
---|---|
Hi, Tech has applied a hot-fix to correct this. You can re-export and you will get \r with your JSON output when using multi-line text. |
Hi, The correct way to do this is with ${char} tag. This will give you the property NOTE: ${char} tag works with all special characters. Tech will pass amessage to Dev to request this to be an automatic feature. |
Share Your Knowledge!
Contribute to the community and help other users to benefit from your answer with experience and knowledge.