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
Hi, I am facing a problem while loading a .json file. I do it this way:
#include "json.hpp"
// for convenience
using json = nlohmann::json;
int main() {
std::ifstream pah("eth_frame.json");
json jFile;
jFile << pah;
cout << jFile["pi"];
....
line jFile << pah crashes and program ends with error, saying that it called abort() function.
When I try to debug, this problem occurs:
Unhandled exception at 0x753DB832 in JSONcpp.exe: Microsoft C++ exception: nlohmann::detail::parse_error at memory location 0x0133DE74.
In file json.hpp.
What am I doing wrong? Thanks in advance for your help! :)
btw, I use VS2017
error: http://prntscr.com/gtzmwp
The text was updated successfully, but these errors were encountered:
Hi, I am facing a problem while loading a .json file. I do it this way:
line jFile << pah crashes and program ends with error, saying that it called abort() function.
In file json.hpp.
What am I doing wrong? Thanks in advance for your help! :)
btw, I use VS2017
error:
http://prntscr.com/gtzmwp
The text was updated successfully, but these errors were encountered: