Skip to content

octal escapes not tested #136

@smcv

Description

@smcv

In JavaScript, "\012" or equivalently "\12" is a deprecated way to spell "\u000a" (same as "\012" or "\x0a" in C). In JSON, it's an undefined (hence invalid) escape sequence, just like "\x".

Different parsers might implement this differently (for example json-glib historically accepted "\012" as an extension) so it seems worthwhile to include in the test corpus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions