-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
Bug Report
-
What is the issue you have?
Unexpected nested arrays fromstd::vector -
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
std::vector<int> v;
json j{v};
std::cout << j << std::endl;
-
What is the expected behavior?
cout prints:[] -
And what is the actual behavior instead?
cout prints:[[]] -
Which compiler and operating system are you using? Is it a supported compiler?
RHEL7 with GCC 6.3.1 -
Did you use a released version of the library or the version from the
developbranch?
Release Version 2.1.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation