Skip to content

Whitespaces and tabs after last quote and newline are not stripped #71

Description

@Virtual-X

This is an example that fails (neither the tab not the last space are stripped):

source: "{"foo": "bar"\t} ",
assert: "{"foo":"bar"}"

All tests in the suite end with \n, thus avoiding the problem, but I suppose that json without newlines are also intended to be supported?

I have tested javascript only, I don't know how other ports are behaving in this situation.

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