Skip to content

betweenQuotes must also encode special characters. #14

@ad-si

Description

@ad-si

The betweenQuotes function seems to be incorrect as e.g. \n should be encoded as \\n, but all it does is to add the surrounding escape quotes.

Here is a list of all JSON special characters: https://www.tutorialspoint.com/json_simple/json_simple_escape_characters.htm

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