-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
json object from std::ifstream #315
Labels
solution: invalid
the issue is not related to the library
Comments
The quotation marks in Config.json were wrong kind. Works now. |
ghost
closed this as completed
Sep 23, 2016
Hey I am facing the same issue, could you please tell me what you did to fix it? |
@kariya2 How does your JSON file look like? What exception do you get while parsing it? |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to initialise a json object from file.
using json = nlohmann::json;
std::ifstream file("Config.json");
json object(file);
I get the following error on terminal
And following warning on output
I'm using g++ (Ubuntu 4.9.4-2ubuntu1~12.04) 4.9.4 for compiling.
C++11 is enabled.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: