- Describe the feature in as much detail as possible.
when run a code like:
void test(const nlohmann::json& a) {
cout << a["a"] << endl;
}
int main() {
nlohmann::json a;
test(a);
}
It just assert fail with no log or hint of the error key. When the project is quite complicated, it is hard to know where i got wrong.
when run a code like:
It just assert fail with no log or hint of the error key. When the project is quite complicated, it is hard to know where i got wrong.