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

parse_object issue #3

Closed
wonderzerg opened this issue Mar 21, 2017 · 2 comments
Closed

parse_object issue #3

wonderzerg opened this issue Mar 21, 2017 · 2 comments

Comments

@wonderzerg
Copy link

wonderzerg commented Mar 21, 2017

I did an easy test to parse_object() on an json like: "{ "firstName":"John" , "lastName":"Doe" }".
it gives me a exception.
turns out that change the line 144, of minijson_read.hpp from "m_read_offset++" to "++m_read_offset" will solve this ,
or should I just use a json string start with "\n"?

@giacomodrago
Copy link
Owner

Hi, sorry about that!
Can you please post a short, compilable program reproducing the problem? Thanks.

@giacomodrago
Copy link
Owner

Closing for now, as I need some code reproducing this. Feel free to add it when you have it.

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