Is it possible to have multi-line strings in JSON?
It\'s mostly for visual comfort so I suppose I can just turn word wrap on in my editor, but I\'m just kinda curious
Check out the specification! The JSON grammar's char production can take the following values:
"-or-\-or-control-character\"\\\/\b\f\n\r\t\u four-hex-digitsNewlines are "control characters" so, no, you may not have a literal newline within your string. However you may encode it using whatever combination of \n and \r you require.