STL containers are always serialized to a nested array like [[1,2,3]] #1013
Labels
kind: question
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Bug Report
I'm using the single-header json.hpp (v3.1.1) and I am struggling with serializing stl containers:
Expected: [1,2,3]
Got instead: [[1,2,3]]
It's the same for other STL containers like vector, list, initializer_list, ...
Did I miss something?
Compiler: Visual C++ 2017 (v15.6.1)
OS: Windows 10 x64
The text was updated successfully, but these errors were encountered: