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 what you want to achieve.
Read .json file as json object
Describe what you tried.
downloaded the include/nlohmann folder in my local project's include folder
Create a .json file in src std::ifstream i(path+"config.json", std::ifstream::binary); json j; i >> j;
it always shows
[json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal
Describe which system (OS, compiler) you are using.
ubuntu 16.04 xenial
Describe which version of the library you are using (release version, develop branch).
JSON for Modern c++ v3.7.0
The text was updated successfully, but these errors were encountered:
Describe what you want to achieve.
Read .json file as json object
Describe what you tried.
downloaded the include/nlohmann folder in my local project's include folder
Create a .json file in src
std::ifstream i(path+"config.json", std::ifstream::binary);
json j;
i >> j;
it always shows
Describe which system (OS, compiler) you are using.
ubuntu 16.04 xenial
Describe which version of the library you are using (release version, develop branch).
JSON for Modern c++ v3.7.0
The text was updated successfully, but these errors were encountered: