Skip to content

Invalid json (with latin1 chars) get parsed instead of throwing an exception #52

@dominikzogg

Description

@dominikzogg

I've tried to enhance error handling of my deserializer library (https://github.com/chubbyphp/chubbyphp-deserialization/blob/master/src/Decoder/JsonTypeDecoder.php) and wished to support native json_decode and your library (what the library user prefers).

While testing i've seen, that the parser seems to allow latin1 chars within the json.
What i know, json needs to be utf-8 (or asci).

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