| 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 |