### jsoncons::basic_default_json_visitor

```cpp
#include <jsoncons/json_visitor.hpp>

template <
    typename CharT
> class basic_default_json_visitor
```

A [basic_json_visitor](basic_json_visitor.md) that discards all incoming json events. Serves as a base class for user defined content handlers.
`basic_default_json_visitor` is noncopyable and nonmoveable.

![basic_default_json_visitor](./diagrams/basic_default_json_visitor.png)

Aliases for common character types are provided:

Type                |Definition
--------------------|------------------------------
default_json_visitor    |`basic_default_json_visitor<char>`
wdefault_json_visitor   |`basic_default_json_visitor<wchar_t>`

#### Member types

Member type                         |Definition
------------------------------------|------------------------------
`char_type`|CharT
`string_view_type`|A non-owning view of a string, holds a pointer to character data and length. Supports conversion to and from strings. Will be typedef-ed to the C++ 17 [std::string view](http://en.cppreference.com/w/cpp/string/basic_string_view) if C++ 17 is detected or if `JSONCONS_HAS_STD_STRING_VIEW` is defined, otherwise proxied.  

#### Constructors

    basic_default_json_visitor(bool accept_more = true)

Constructs a `basic_default_json_visitor`. The parameter
`accept_more` indicates whether the content handler will, after
consuming an event, accept more events.

### See also

[basic_json_filter](basic_json_filter.md)

