Hi! Is it possible to convert directly stream into vector? For eg. load file with JSON >> create vector on this data
Activity
nlohmann commentedon Oct 16, 2016
You may have a look at #332 (comment). If this does not help, please provide a concrete example.
ibitton commentedon Oct 20, 2016
I think you should try:
auto vec = myJSON.get<vector<T>>();nlohmann commentedon Oct 22, 2016
@ibitton Can we close this issue?
vertisan commentedon Oct 22, 2016
Yes