Skip to content

Q: When I received an illegal string,How the program knows? #2162

Description

@huluBrother
std::string body = "";//illegal
std::string body = "a"//illegal
nlohmann::json reqContext = nlohmann::json::parse(body);

how the program knows?

Of course, the premise is that the program cannot crash.
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions