MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / dump_pretty

Function dump_pretty

include/jsoncons/basic_json.hpp:2890–2900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2888
2889 template <typename CharContainer>
2890 typename std::enable_if<ext_traits::is_back_insertable_char_container<CharContainer>::value>::type
2891 dump_pretty(CharContainer& cont,
2892 const basic_json_encode_options<char_type>& options = basic_json_options<CharT>()) const
2893 {
2894 std::error_code ec;
2895 dump_pretty(cont, options, ec);
2896 if (JSONCONS_UNLIKELY(ec))
2897 {
2898 JSONCONS_THROW(ser_error(ec));
2899 }
2900 }
2901
2902 void dump(std::basic_ostream<char_type>& os,
2903 const basic_json_encode_options<char_type>& options = basic_json_options<CharT>()) const

Callers 1

dumpFunction · 0.85

Calls 2

ser_errorClass · 0.85
dumpFunction · 0.85

Tested by

no test coverage detected