You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature in as much detail as possible.
I have to reload a JSON file at runtime. I actually use std::ifstream to open my json file and I fill the json object with the >> operator. I don't want to re-open my file with my ifstream but just set the stream position to 0 using std::ifstream::seekg.
The problem is : When I pass it to json object, my ifstream is empty. Is there a way to build a json object via an ifstream without emptying it ?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi !
Feature Request
I have to reload a JSON file at runtime. I actually use std::ifstream to open my json file and I fill the json object with the >> operator. I don't want to re-open my file with my ifstream but just set the stream position to 0 using std::ifstream::seekg.
The problem is : When I pass it to json object, my ifstream is empty. Is there a way to build a json object via an ifstream without emptying it ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: