Opportunistically take advantage of C++20 move-in/out-of stringstream by beevvy · Pull Request #1457 · open-source-parsers/jsoncpp (original) (raw)
Pushed a similar change for json_reader.cpp.
BTW, I realize it won't have any effect when compiling with -std=c++11, which is the default, but it will for projects using the amalgamation, for example.