In JSON, strings cannot contain control characters such as newline (ASCII 12). So we should replace them with their escape sequences, e.g.
NEWLINE -> \n
CARRIAGE RETURN -> (remove?)
TAB -> (replace with 2 or 4 spaces?)
this is important because we want to keep formatting of rule descriptions and indentations of rule definitions. Could be added to section 7 of the standard.
In JSON, strings cannot contain control characters such as newline (ASCII 12). So we should replace them with their escape sequences, e.g.
this is important because we want to keep formatting of rule descriptions and indentations of rule definitions. Could be added to section 7 of the standard.