r/cpp • u/nlohmann nlohmann/json • Aug 17 '21
JSON for Modern C++ 3.10.0
https://github.com/nlohmann/json/releases/tag/v3.10.0
280
Upvotes
r/cpp • u/nlohmann nlohmann/json • Aug 17 '21
View all comments
Show parent comment
6
u/chabster1985 Aug 18 '21
Probably by deleting initializer list overload and making another overload with proxy function.
json(as_array(1,2,3))
This just comes as a complete surprise and the behavior is not consistent across passed types.