Reply To: Formatted json?

NodeCanvas Forums General Discussion Formatted json? Reply To: Formatted json?

#12704
Gavalakis
Keymaster

Hello,

Even if it is possible for the json to be formatted like this as you know, the problem is that Unity will still serialize the string in it’s YAML format, as a long string, but rather this time with “\r” everywhere, like this: line1\r\nline2\r\nline3\r\n… .

This is really something I would want to make it work like you suggest, but I can’t seem to find any way to tell Unity to keep the string nicely formatted, if even possible at all :/

Join us on Discord: https://discord.gg/97q2Rjh