Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some bug for parse_item #77

Open
2 tasks
kcwl opened this issue Nov 18, 2022 · 1 comment
Open
2 tasks

some bug for parse_item #77

kcwl opened this issue Nov 18, 2022 · 1 comment

Comments

@kcwl
Copy link
Contributor

kcwl commented Nov 18, 2022

  • I didn't get the right answer when i take someone test

     std::list<char> str; 
     str.push_back('\"');
     str.push_back('a');
     str.push_back('\\');
     str.push_back('\"');
     std::string test{};
     iguana::parse_item(test, str.begin(), str.end());
     CHECK(test == "a");
    

    the result of test is a\", not a

  • The string to be deserialized has fewer words,maybe lesser than 7, it will crash at json_util@line 132

@qicosmos
Copy link
Owner

I think it's has been fixed, can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants