-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Using this library without stream ? #1370
Comments
Assuming you mean parsing: you can also call |
Hi, I would like to use this library in 2 differents way. The first one is with the data binding (DOM ?). The second one is with the SAX parser (from a json file). The main idea is to be able to use the library with file access but not with fstream. I see the Parse method that can accept begin iterator and end iterator. The only problem, is the iterators need to be random access, but for file reading, this is somewhat not efficient. The other problem with the json::parse with string or char * is that I cannot keep the whole json file in RAM. I need to parse it with Sax to get only the values. Regards Jonathan |
I see. The requirement for |
Hi, Some other library offer an interface for using FILE * too. Maybe could an improvement to your library too. This is more a wish than a requirement. Jonathan |
Hi, Regards |
Yes, a PR would be really appreciated! |
Closed with #1392. |
Hi,
I would like to use this library with our product based on Cortex-M MCU. This mcu asnot much RAM/Flash. The use of stream (fstream/streambuf) is not really an option.
Is it possible to use that libray without using stream ?
Regards
Jonathan
The text was updated successfully, but these errors were encountered: