serialize_impl is used to serialize JSON into a std::string:
The problem is that line 52 is incorrect, I think it should read:
s.reserve( s.capacity() + 1 );
s.resize( s.capacity() );
otherwise, every 2nd trip through the for loop will be a 1-char write.
serialize_implis used to serialize JSON into astd::string:json/include/boost/json/impl/serialize.ipp
Line 21 in 307d190
The problem is that line 52 is incorrect, I think it should read:
otherwise, every 2nd trip through the
forloop will be a 1-char write.