// Uses the `parse_bool` parsing function defined above to read the JSON
// identifier `true` or `false` from the input.
//
// Parsing refers to looking at the input and deciding that it contains the
// JSON value `true` or `false`.
//
// Deserialization refers to mapping that JSON value into Serde's data
// model by invoking one of the `Visitor` methods. In the case of JSON and
// bool that mapping is straightforward so the distinction may seem silly,
// but in other cases Deserializers sometimes perform non-obvious mappings.
// For example the TOML format has a Datetime type and Serde's data model
// does not. In the `toml` crate, a Datetime in the input is deserialized by
// mapping it to a Serde data model "struct" type with a special name and a
// single field containing the Datetime represented as a string.


Parsing refers to looking at the input and deciding that it contains the
JSON value `true` or `false`.

Deserialization refers to mapping that JSON value into Serde's data
model by invoking one of the `Visitor` methods. In the case of JSON and
bool that mapping is straightforward so the distinction may seem silly,
but in other cases Deserializers sometimes perform non-obvious mappings.
For example the TOML format has a Datetime type and Serde's data model
does not. In the `toml` crate, a Datetime in the input is deserialized by
mapping it to a Serde data model "struct" type with a special name and a
single field containing the Datetime represented as a string.
Parsing refers to looking at the input and deciding that it contains the JSON value ` true ` or ` false ` . Deserialization refers to mapping that JSON value into Serde ' s data model by invoking one of the ` Visitor ` methods . In the case of JSON and bool that mapping is straightforward so the distinction may seem silly but in other cases Deserializers sometimes perform non - obvious mappings . For example the TOML format has a Datetime type and Serde ' s data model does not . In the ` toml ` crate a Datetime in the input is deserialized by mapping it to a Serde data model " struct " type with a special name and a single field containing the Datetime represented as a string .
fn deserialize_bool<V>(self, _visitor: V) -> Result<V::Value>
    where
        V: Visitor<'de>,
    {
        // visitor.visit_bool(self.parse_bool()?)
        Err(Error::Message(String::from(
            "bool is not implemented/deserializable",
        )))
    }
fn deserialize_bool < V > ( self , _visitor : V ) -> Result < V :: Value > where V : Visitor < ' de > , { // visitor.visit_bool(self.parse_bool()?) Err ( Error :: Message ( String :: from ( " " , ) ) ) }
Uses the `parse_bool` parsing function defined above to read the JSON
identifier `true` or `false` from the input.
Uses the ` parse_bool ` parsing function defined above to read the JSON identifier ` true ` or ` false ` from the input .
self
_visitor
V