Skip to content

JSONValue::read_string() should return a newtype wrapper #12

Description

@Muon

For the sake of ergonomics, since the value returned by JSONValue::read_string() does not have escapes processed, a newtype wrapper, call it JSONString, should be returned instead. This would help prevent mistakes such as accidentally using the result as a fully processed string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions