| 367 | } |
| 368 | |
| 369 | JSONCONS_VISITOR_RETURN_TYPE visit_end_object(const ser_context&, std::error_code&) final |
| 370 | { |
| 371 | JSONCONS_ASSERT(!stack_.empty()); |
| 372 | --nesting_depth_; |
| 373 | |
| 374 | unindent(); |
| 375 | if (stack_.back().new_line_after()) |
| 376 | { |
| 377 | new_line(); |
| 378 | } |
| 379 | stack_.pop_back(); |
| 380 | sink_.append(close_brace_str_.data(), close_brace_str_.length()); |
| 381 | column_ += close_brace_str_.length(); |
| 382 | |
| 383 | end_value(); |
| 384 | JSONCONS_VISITOR_RETURN; |
| 385 | } |
| 386 | |
| 387 | JSONCONS_VISITOR_RETURN_TYPE visit_begin_array(semantic_tag, const ser_context&, std::error_code& ec) final |
| 388 | { |
no test coverage detected