Skip to content

to_string does not properly dump real JSON. #8

Description

@Rapptz

Since it doesn't dump real JSON, it's probably not a good way to dump JSON. So it should probably be removed or renamed for a better API.

The reason it doesn't dump real JSON is because when dumping strings, it ignores the \uxxxx literals and even the escape sequences which makes it wrong.

It might be worth looking into how Python does JSON dumping. This allows it to be relevant to issue #5.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions