Boost C++ Libraries: Ticket #12149: boost::property_tree::write_json(stream, root, /*pretty=*/false) gives extra std::endl at the end https://svn.boost.org/trac10/ticket/12149 <p> As was noted in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3828" title="#3828: Bugs: No way to create smaller json output from property_tree::write_json (closed: fixed)">#3828</a>, not pretty written json has extra endl at the end. </p> <p> (Creating a separate ticket, as that one was Fixed and further comments got ignored) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12149 Trac 1.4.3 Erich Keane <erich.keane@…> Fri, 22 Apr 2016 22:56:19 GMT <link>https://svn.boost.org/trac10/ticket/12149#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12149#comment:1</guid> <description> <p> I submitted a pull request for what I believe is a solid fix for this that does the least harm here: <a class="ext-link" href="https://github.com/boostorg/property_tree/pull/23"><span class="icon">​</span>https://github.com/boostorg/property_tree/pull/23</a>. </p> <p> I wonder if the flush behavior is a necessity, but I included it figuring we can remove it easily enough. </p> </description> <category>Ticket</category> </item> </channel> </rss>