Skip to content

control characters in JSON #2

Description

@markvanderloo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions