Skip to content

bug parse invalid json? #39

Closed
Closed
@pavel-pimenov

Description

@pavel-pimenov

Json::Value root;
Json::Reader reader;
const bool parsingSuccessful = reader.parse("404 Not Found", root);

parsingSuccessful == true !

p.s.
http://jsonlint.com/

Parse error on line 1:
404 NotFound
^
Expecting '{', '['

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions